# CVE-2026-41070: openvpn-auth-oauth2 returns FUNC\_SUCCESS on client-deny, allowing unauthenticated VPN access

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 10.0
- **CVSS:** 10.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.58% (percentile 42, 2026-11-28)
- **CWE:** CWE-287
- **Aliases:** GHSA-246w-jgmq-88fg, GO-2026-4963
- **Published:** 2026-04-22T14:28:11.000Z
- **Modified:** 2026-10-26T18:10:00.173Z

## Who should check

- Projects that depend on Go package github.com/jkroepke/openvpn-auth-oauth2 (\>= 1.26.3, \< 1.27.3)
- Anyone running jkroepke openvpn-auth-oauth2 \>= 1.26.3, \< 1.27.3

## Description

openvpn-auth-oauth2 is a plugin/management interface client for OpenVPN server to handle an OIDC based single sign-on (SSO) auth flows. From version 1.26.3 to before version 1.27.3, when openvpn-auth-oauth2 is deployed in the experimental plugin mode (shared library loaded by OpenVPN via the plugin directive), clients that do not support WebAuth/SSO (e.g., the openvpn CLI on Linux) are incorrectly admitted to the VPN despite being denied by the authentication logic. The default management-interface mode is not affected because it does not use the OpenVPN plugin return-code mechanism. This issue has been patched in version 1.27.3.

## Affected and fixed versions

- Go `github.com/jkroepke/openvpn-auth-oauth2`: affected \>= 1.26.3, \< 1.27.3; fixed 1.27.3 (osv)
- jkroepke openvpn-auth-oauth2: \>= 1.26.3, \< 1.27.3 (cvelist)

## Mitigation

- Upgrade github.com/jkroepke/openvpn-auth-oauth2 to 1.27.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-41070. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-41070.md
Affected: github.com/jkroepke/openvpn-auth-oauth2 >= 1.26.3, < 1.27.3
Fixed in: 1.27.3

Steps:
1. Search this machine and project for github.com/jkroepke/openvpn-auth-oauth2 (Go), jkroepke openvpn-auth-oauth2: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-41070 being exploited?

There is no confirmed exploitation: CVE-2026-41070 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-41070?

Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-41070?

github.com/jkroepke/openvpn-auth-oauth2 \>= 1.26.3, \< 1.27.3.

### Is there a fix for CVE-2026-41070?

Yes. Fixed in 1.27.3. Upgrade github.com/jkroepke/openvpn-auth-oauth2 to 1.27.3 or later.

### How do I check if I'm affected by CVE-2026-41070?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/jkroepke/openvpn-auth-oauth2/security/advisories/GHSA-246w-jgmq-88fg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-41070>
- patch: <https://github.com/jkroepke/openvpn-auth-oauth2/commit/36f69a6c67c1054da7cbfa04ced3f0555127c8f2>
- patch: <https://github.com/jkroepke/openvpn-auth-oauth2/pull/829>
- other: <https://github.com/OpenVPN/openvpn/blob/master/include/openvpn-plugin.h.in>
- other: <https://github.com/OpenVPN/openvpn3/blob/master/doc/webauth.md>
- other: <https://github.com/jkroepke/openvpn-auth-oauth2>
- other: <https://github.com/jkroepke/openvpn-auth-oauth2/releases/tag/v1.27.3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-41070>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-246w-jgmq-88fg> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4963> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-41070> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-41070>
