CVE-2025-31492
mod_auth_openidc allows OIDCProviderAuthRequestMethod POSTs to leak protected data
Mitigation
- Upgrade mod_auth_openidc to 2.4.16.11 or later.
Who should check
- Anyone running mod_auth_openidc < 2.4.16.11
Vulnerability facts
- Affected
- mod_auth_openidc < 2.4.16.11
- Fixed in
- mod_auth_openidc 2.4.16.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.97% chance of exploitation in 30 days (percentile 61, 2026-11-26)
- CWE
- CWE-200
- Modified
Description
mod_auth_openidc is an OpenID Certified authentication and authorization module for the Apache 2.x HTTP server that implements the OpenID Connect Relying Party functionality. Prior to 2.4.16.11, a bug in a mod_auth_openidc results in disclosure of protected content to unauthenticated users. The conditions for disclosure are an OIDCProviderAuthRequestMethod POST, a valid account, and there mustn't be any application-level gateway (or load balancer etc) protecting the server. When you request a protected resource, the response includes the HTTP status, the HTTP headers, the intended response (the self-submitting form), and the protected resource (with no headers). This is an example of a request for a protected resource, including all the data returned. In the case where mod_auth_openidc returns a form, it has to return OK from check_userid so as not to go down the error path in httpd. This means httpd will try to issue the protected resource. oidc_content_handler is called early, which has the opportunity to prevent the normal output being issued by httpd. oidc_content_handler has a number of checks for when it intervenes, but it doesn't check for this case, so the handler returns DECLINED. Consequently, httpd appends the protected content to the response. The issue has been patched in mod_auth_openidc versions >= 2.4.16.11.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| mod_auth_openidc | < 2.4.16.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-31492. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-31492.md Affected: mod_auth_openidc < 2.4.16.11 Fixed in: mod_auth_openidc 2.4.16.11 Steps: 1. Search this machine and project for mod_auth_openidc: 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.
References
Vendor advisories
FAQ
Is CVE-2025-31492 being exploited?
There is no confirmed exploitation: CVE-2025-31492 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.97% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-31492?
High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-31492?
mod_auth_openidc < 2.4.16.11.
Is there a fix for CVE-2025-31492?
Yes. Fixed in mod_auth_openidc 2.4.16.11. Upgrade mod_auth_openidc to 2.4.16.11 or later.
How do I check if I'm affected by CVE-2025-31492?
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.