Skip to main content

Okta Access Gateway CVE-2026-78623

| EUVDEUVD-2026-74165 CRITICAL
SQL Injection (CWE-89)
2026-09-08 psirt@okta.com GHSA-9j47-j79g-74hf
9.9
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain position to influence SAML assertion attributes
  2. Delivery
    Craft assertion value with SQL injection payload
  3. Exploit
    Gateway interpolates value into datastore query
  4. Execution
    Unprepared query executes on backend DB
  5. Impact
    Read/modify data or disrupt database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the Okta Access Gateway to be configured with an 'advanced mode' datastore, where SAML assertion attribute values are interpolated directly into a backend database query string prior to statement preparation - this is the specific non-default feature that must be enabled. The attacker must be able to control or influence the SAML assertion attribute values consumed by the gateway (consistent with PR:L: a position in the federation/authentication flow rather than full anonymous access). This is NOT a default-configuration remote-unauthenticated flaw: deployments not using advanced-mode datastores are not exposed, which materially limits the affected population and aligns with the low EPSS and SSVC 'Exploitation: none / Automatable: no' signals.

Impact

This is a genuine SQL injection (CWE-89) in Okta Access Gateway where SAML assertion attribute values are interpolated directly into query strings before statement preparation in advanced-mode datastore configurations. The vendor CVSS of 9.9 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) reflects full read/write/availability impact against the backend database with a scope change. However, the corroborating exploitation signals are notably LOW: EPSS is only 0.24% (15th percentile), CISA SSVC records Exploitation: none, Automatable: no, and Technical Impact: partial (not total), and there is no KEV listing and no public exploit code. There is a real tension here worth flagging: the SSVC 'Technical Impact: partial' assessment conflicts with the vendor's C:H/I:H/A:H 'total' impact rating - the vendor scores it as maximally impactful while CISA's framework scores only partial technical impact, suggesting the practical, default-config exploitability is more constrained than the 9.9 implies. The PR:L requirement (attacker must be able to influence SAML assertion values, i.e. some authenticated position in the federation flow) and the dependency on the non-default 'advanced mode datastore' feature further temper real-world urgency. Net: patch-worthy and legitimately high-severity where the advanced-mode datastore is in use, but not an imminent mass-exploitation threat - treat as scheduled remediation, prioritized for tenants that have enabled advanced-mode datastores.

Exploit ScenarioDerived

An attacker who can influence the attribute values in a SAML assertion consumed by an Okta Access Gateway configured with an advanced-mode datastore crafts an assertion containing SQL metacharacters/payload in an interpolated attribute. When the gateway substitutes the unsanitized value into the datastore query string prior to preparation, the payload executes against the configured backend database, enabling data read, modification, or disruption. No public exploit code is identified at time of analysis, and exploitation requires the non-default advanced-mode datastore configuration plus the ability to control assertion values (PR:L).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Sep 22, 2026

SQL injection in Okta Access Gateway versions prior to 2026.9.1 allows a participant in the SAML federation/authentication flow (CVSS vector PR:L) to execute unintended SQL statements against the configured backend database whenever the gateway is deployed with an 'advanced mode' datastore. The flaw arises because SAML assertion attribute values are interpolated directly into the query string before statement preparation, so attacker-influenced assertion data becomes part of the SQL rather than bound parameter data, and the scope change (S:C) reflects that compromise of the backend database crosses a security boundary beyond the gateway itself. Impact is high for confidentiality, integrity and availability, but exposure is materially limited: only deployments using advanced-mode datastores are affected, CISA SSVC records Exploitation: none and Automatable: no, EPSS is 0.24% (15th percentile, low), and no public exploit code has been identified at time of analysis.

Earlier versions of this analysis (1)
v1 Sep 08, 2026 - 21:27 CVSS 7.7

SQL injection in Okta Access Gateway's advanced mode datastore configuration exposes backend databases to arbitrary query execution by attackers who hold a valid SAML identity. The gateway interpolates SAML assertion attribute values directly into query strings prior to preparation, bypassing parameterization entirely. The CVSS scope change (S:C) reflects that the primary damage accrues to the configured backend database rather than the gateway itself; no public exploit has been identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade Okta Access Gateway to 2026.9.1 or later, which is the first fixed release per the vendor advisory (https://trust.okta.com/security-advisories/improper-handling-of-saml-assertion-attributes-in-okta-access-gateway-advanced-mode-datastores-cve-2026-78623). If immediate upgrade is not possible, the most effective compensating control is to remove the exposure entirely: stop using 'advanced mode' datastore configurations and fall back to standard datastore mode, accepting the loss of custom query functionality until patching is complete. Where advanced mode must remain, tighten the datastore account's privileges so the gateway can only read/write the specific tables and columns it needs - note this reduces blast radius but does not prevent injected SQL from executing within the granted scope. Additionally, restrict network reachability from the gateway to the backend database (firewall/allow-list to the single required DB endpoint), map only the specific SAML assertion attributes the deployment actually requires rather than passing through arbitrary attributes from the IdP, and monitor database logs for anomalous or malformed query patterns originating from the gateway. Each of these measures is a containment control, not a fix, and none should be treated as a substitute for upgrading to 2026.9.1.

Affected VersionsENISA

Okta Access Gateway 0 <2026.9.1

Affected Packages

euvd okta_access_gateway fix: 2026.9.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Okta Access Gateway is a federation/SSO proxy that consumes SAML assertions from identity providers and can persist or query identity and session data in a backend database. In its 'advanced mode' datastore configuration, administrators supply custom SQL query templates into which the gateway substitutes values - including attribute values taken from incoming SAML assertions - by string interpolation before the statement is prepared. This is a classic CWE-89 SQL injection root cause: the values are never sanitized or parameterized, so they are effectively trusted as query syntax rather than treated as data, and any backend the gateway's datastore account can reach (tables, other schemas, potentially other databases via the account's privileges) is exposed to unintended execution. The scope change (S:C) is consistent with the injection pivoting from the gateway component to the underlying database security context. The affected component per CPE is cpe:2.3:a:okta:access_gateway:*:*:*:*:*:*:*:* covering all builds below the fixed 2026.9.1 release, and the vendor classifies the underlying issue as improper handling of SAML assertion attributes in advanced mode datastores (EUVD-2026-74165).

Know when Access Gateway gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (okta) PRIMARY HIGH
NVD 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Attacker must control SAML assertion values in a federation flow (PR:L); SQL execution reaches a separate backend database (S:C) with full read/write/availability impact (C:H/I:H/A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (okta).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Sep 22, 2026 - 20:44 vuln.today
v2 - CVSS changed
Severity Changed
Sep 22, 2026 - 20:37 NVD
HIGH CRITICAL
CVSS changed
Sep 22, 2026 - 20:37 NVD
7.7 (HIGH) 9.9 (CRITICAL)
Patch available
Sep 08, 2026 - 21:20 EUVD
CVE Published
Sep 08, 2026 - 20:18 cve.org
HIGH 7.7

DescriptionNVD

The Okta Access Gateway does not sanitize SAML assertion values before interpolating them into database queries in the advanced mode datastore configuration. The unsanitized values are substituted directly into the query string prior to preparation, resulting in unintended SQL execution against the configured backend database.

Executive ViewAI

Why It Matters

Okta Access Gateway, specifically deployments using advanced-mode datastores, contains a critical authenticated SQL injection that can allow a SAML federation participant to compromise the backend database. Because this gateway sits in the authentication path, successful exploitation could undermine identity assurance, expose sensitive data, and disrupt downstream application access for the organization. Leadership should prioritize patching affected instances to 2026.9.1 and confirm which gateways use advanced-mode datastores, while noting that no public exploit identified at time of analysis and exposure is limited to those configurations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
Okta add-on appliance for on-prem app federation; common in Okta shops, not universal
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2021-28113 MEDIUM POC
6.7 Apr 02

A command injection vulnerability in the cookieDomain and relayDomain parameters of Okta Access Gateway before 2020.9.3

CVE-2026-78550 HIGH
7.2 Sep 08

Code execution with the privileges of the management console is possible in Okta Access Gateway releases before 2026.9.1

CVE-2026-78545 HIGH
7.2 Sep 08

Authenticated administrative users of Okta Access Gateway can achieve arbitrary command execution on the underlying gate

CVE-2026-78625 MEDIUM
6.7 Sep 08

PHP code injection in Okta Access Gateway (all versions prior to 2026.9.1) allows an authenticated administrator to exec

CVE-2026-78630 MEDIUM
6.7 Sep 08

OS command injection in Okta Access Gateway (versions prior to 2026.9.1) allows an authenticated high-privileged local u

CVE-2026-78579 MEDIUM
6.5 Sep 08

LDAP injection in Okta Access Gateway versions before 2026.9.1 allows a network-authenticated attacker to manipulate LDA

CVE-2026-78626 MEDIUM
6.5 Sep 08

Authorization bypass in Okta Access Gateway (all versions before 2026.9.1) allows authenticated network users to circumv

CVE-2026-78560 MEDIUM
6.5 Sep 08

Header injection authentication bypass in Okta Access Gateway (versions prior to 2026.9.1) allows unauthenticated networ

CVE-2013-2263 MEDIUM
5.0 Mar 19

Unspecified vulnerability in Citrix Access Gateway Standard Edition 5.0.x before 5.0.4.223524 allows remote attackers to

CVE-2026-78624 MEDIUM
4.9 Sep 08

Path traversal in Okta Access Gateway's backup restore function (all versions prior to 2026.9.1) allows an authenticated

CVE-2026-78552 MEDIUM
4.9 Sep 08

Nginx directive injection in Okta Access Gateway before version 2026.9.1 enables an authenticated administrator to injec

CVE-2026-78620 MEDIUM
4.9 Sep 08

Arbitrary file write in Okta Access Gateway (all versions before 2026.9.1) allows a highly privileged authenticated atta

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy