# CVE-2026-78623: Improper Handling of SAML Assertion Attributes in Okta Access Gateway Advanced Mode Datastores

Okta Access Gateway fails to sanitize SAML assertion values before inserting them into database queries in advanced mode. An attacker with a low-privileged account can send crafted SAML assertions over the network to execute arbitrary SQL commands against the backend database. This vulnerability requires no user interaction to exploit.

- Vendor: Okta, Okta Access Gateway
- Severity: HIGH (CVSS 3.1 7.7)
- Exploited (CISA KEV): not listed
- EPSS: 0.3% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: https://trust.okta.com/security-advisories/improper-handling-of-saml-assertion-attributes-in-okta-access-gateway-advanced-mode-datastores-cve-2026-78623
- Published: 2026-09-08; updated: 2026-09-08
- Page: https://patchtonight.com/cve/CVE-2026-78623/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Okta Access Gateway 0 | 2026.9.1 or later |

## The vendor's description

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.

## Sources

- [Okta advisory](https://trust.okta.com/security-advisories/improper-handling-of-saml-assertion-attributes-in-okta-access-gateway-advanced-mode-datastores-cve-2026-78623)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
