---
id: "CVE-2026-40820"
page: "https://infrastack.ai/live/CVE-2026-40820"
kind: "vulnerability"
aliases: ["CVE-2026-40820"]
title: "VPN gateway getVpnData function allows SQL injection, exposing all stored data"
severity: "medium"
cvss: 6.9
epss: null
exploited: false
status: "open"
category: "infrastructure"
products: []
ecosystems: []
tags: ["infrastructure", "sql-injection", "vpn"]
not_affected_if: []
published_at: "2026-11-12T08:16:41+00:00"
first_seen_at: "2026-11-12T08:37:15+00:00"
updated_at: "2026-11-12T08:38:33+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40820", "first_seen_at": "2026-11-12T08:37:15+00:00"}]
exploit_sources: []
---

# VPN gateway getVpnData function allows SQL injection, exposing all stored data

Link for people: https://infrastack.ai/live/CVE-2026-40820 (this .md is for agents)

An unauthenticated remote attacker with high privileges can inject SQL through the getVpnData function, because special characters in a SELECT command are not neutralized. The sources say a successful attack can cause a total loss of confidentiality.

_Summary, check and fix written by a model from the sources; labelled as such._

## Timeline

- 2026-11-12T08:37:15+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-40820

## From the sources

A high privileged remote attacker can exploit an unauthenticated SQL Injection vulnerability in the getVpnData function due to improper neutralization of special elements in a SQL SELECT command. This can result in a total loss of confidentiality.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
