Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/jkroepke/openvpn-auth-oauth2
  4. ›
  5. CVE-2026-41070

CVE-2026-41070: openvpn-auth-oauth2 returns FUNC_SUCCESS on client-deny, allowing unauthenticated VPN access

April 22, 2026 (updated May 13, 2026)

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.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2026-41070 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.26.3 before 1.27.3

Fixed versions

  • 1.27.3

Solution

Upgrade to version 1.27.3 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

go/github.com/jkroepke/openvpn-auth-oauth2/CVE-2026-41070.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:29 +0000.