# CVE-2025-31492: mod\_auth\_openidc allows OIDCProviderAuthRequestMethod POSTs to leak protected data

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

- **Severity:** HIGH 8.2
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.97% (percentile 61, 2026-11-26)
- **CWE:** CWE-200
- **Published:** 2025-04-06T20:02:20.511Z
- **Modified:** 2026-06-17T09:10:29.800Z

## Who should check

- Anyone running mod\_auth\_openidc \< 2.4.16.11

## 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

- mod\_auth\_openidc: \< 2.4.16.11 (cvelist)

## Mitigation

- Upgrade mod\_auth\_openidc to 2.4.16.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/OpenIDC/mod_auth_openidc/security/advisories/GHSA-59jp-rwph-878r>
- patch: <https://github.com/OpenIDC/mod_auth_openidc/commit/b59b8ad63411857090ba1088e23fe414c690c127>
- other: <https://lists.debian.org/debian-lts-announce/2025/04/msg00025.html>

## 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-2025-31492>

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