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

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.4.16.11 (CNA); fix release not confirmed
- Status: published
- Published: 2025-04-06 · Modified: 2025-04-17
- Aliases: MGASA-2025-0147, SUSE-SU-2025:1286-1, SUSE-SU-2025:1324-1, SUSE-SU-2025:1337-1, SUSE-SU-2025:1465-1, RHSA-2025:3945, RHSA-2025:3997, RHSA-2025:4128, RHSA-2025:4192, RHSA-2025:4224, RHSA-2025:4225, RHSA-2025:4227, RHSA-2025:4228, RHSA-2025:7419, RHSA-2025:7490, UBUNTU-CVE-2025-31492, USN-7446-1, DEBIAN-CVE-2025-31492, DLA-4129-1, DSA-5904-1, openSUSE-SU-2025:14972-1
- Record: https://cvemate.com/vulnerability/CVE-2025-31492 · JSON: https://cvemate.com/vulnerability/CVE-2025-31492/json

## Description

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

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) 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
- EPSS: 0.587%, percentile 49.507%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 30)

- debian libapache2-mod-auth-openidc (Debian): \< 2.4.9.4-0+deb11u5 \| \< 2.4.12.3-2+deb12u3 \| \< 2.4.16.11-1
- ubuntu libapache2-mod-auth-openidc (Ubuntu): All versions (No fix recorded) \| \< 2.4.11-1ubuntu0.1 \| \< 2.4.15.1-1ubuntu0.1
- mageia apache-mod\_auth\_openidc (Mageia): \< 2.4.13.2-1.2.mga9
- openidc mod\_auth\_openidc: \< 2.4.16.11
- opensuse apache2-mod\_auth\_openidc&distro=openSUSE Leap 15.6 (openSUSE): \< 2.3.8-150600.16.8.1
- opensuse apache2-mod\_auth\_openidc&distro=openSUSE Tumbleweed (openSUSE): \< 2.4.16.11-1.1
- redhat cjose (Red Hat): \< 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 \| \< 0:0.6.1-3.module+el8.8.0+19464+578f4546 \| \< 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c \| \< 0:0.6.1-3.module+el8.4.0+19462+14bde120 \| \< 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee
- redhat cjose-debuginfo (Red Hat): \< 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 \| \< 0:0.6.1-3.module+el8.8.0+19464+578f4546 \| \< 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c \| \< 0:0.6.1-3.module+el8.4.0+19462+14bde120 \| \< 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee
- redhat cjose-debugsource (Red Hat): \< 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 \| \< 0:0.6.1-3.module+el8.8.0+19464+578f4546 \| \< 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c \| \< 0:0.6.1-3.module+el8.4.0+19462+14bde120 \| \< 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee
- redhat cjose-devel (Red Hat): \< 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 \| \< 0:0.6.1-3.module+el8.8.0+19464+578f4546 \| \< 0:0.6.1-3.module+el8.6.0+19463+7d2e1f9c \| \< 0:0.6.1-3.module+el8.4.0+19462+14bde120 \| \< 0:0.6.1-3.module+el8.2.0+19461+3a40b6ee
- redhat mod\_auth\_openidc (Red Hat): \< 0:2.4.9.4-1.el9\_0.2 \| \< 0:2.4.9.4-7.module+el8.10.0+23023+ba6d7066 \| \< 0:2.4.9.4-1.module+el8.8.0+23028+2aae5ce6.1 \| \< 0:2.4.9.4-1.module+el8.6.0+23040+515b7c43.1 \| \< 0:2.4.9.4-4.el9\_4.1 \| \< 0:2.4.9.4-1.el9\_2.2 \| \< 0:2.4.9.4-1.module+el8.4.0+23043+b69acfab.1 \| \< 0:2.4.9.4-1.module+el8.2.0+23039+41dcbbc6 \| \< 0:2.4.10-1.el9\_6.1 \| \< 0:2.4.15-4.el10\_0.1
- redhat mod\_auth\_openidc-debuginfo (Red Hat): \< 0:2.4.9.4-1.el9\_0.2 \| \< 0:2.4.9.4-7.module+el8.10.0+23023+ba6d7066 \| \< 0:2.4.9.4-1.module+el8.8.0+23028+2aae5ce6.1 \| \< 0:2.4.9.4-1.module+el8.6.0+23040+515b7c43.1 \| \< 0:2.4.9.4-4.el9\_4.1 \| \< 0:2.4.9.4-1.el9\_2.2 \| \< 0:2.4.9.4-1.module+el8.4.0+23043+b69acfab.1 \| \< 0:2.4.9.4-1.module+el8.2.0+23039+41dcbbc6 \| \< 0:2.4.10-1.el9\_6.1 \| \< 0:2.4.15-4.el10\_0.1
- redhat mod\_auth\_openidc-debugsource (Red Hat): \< 0:2.4.9.4-1.el9\_0.2 \| \< 0:2.4.9.4-7.module+el8.10.0+23023+ba6d7066 \| \< 0:2.4.9.4-1.module+el8.8.0+23028+2aae5ce6.1 \| \< 0:2.4.9.4-1.module+el8.6.0+23040+515b7c43.1 \| \< 0:2.4.9.4-4.el9\_4.1 \| \< 0:2.4.9.4-1.el9\_2.2 \| \< 0:2.4.9.4-1.module+el8.4.0+23043+b69acfab.1 \| \< 0:2.4.9.4-1.module+el8.2.0+23039+41dcbbc6 \| \< 0:2.4.10-1.el9\_6.1 \| \< 0:2.4.15-4.el10\_0.1
- suse apache2-mod\_auth\_openidc&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 2.3.8-150100.3.31.1
- suse apache2-mod\_auth\_openidc&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS (SUSE Linux Enterprise): \< 2.3.8-150100.3.31.1
- suse apache2-mod\_auth\_openidc&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS (SUSE Linux Enterprise): \< 2.3.8-150100.3.31.1
- suse apache2-mod\_auth\_openidc&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS (SUSE Linux Enterprise): \< 2.3.8-150100.3.31.1
- suse apache2-mod\_auth\_openidc&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS (SUSE Linux Enterprise): \< 2.3.8-150100.3.31.1
- suse apache2-mod\_auth\_openidc&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS (SUSE Linux Enterprise): \< 2.3.8-150100.3.31.1
- suse apache2-mod\_auth\_openidc&distro=SUSE Linux Enterprise Module for Server Applications 15 SP6 (SUSE Linux Enterprise): \< 2.3.8-150600.16.8.1

## References (first 20 of 43)

- <https://github.com/OpenIDC/mod_auth_openidc/security/advisories/GHSA-59jp-rwph-878r>
- <https://github.com/OpenIDC/mod_auth_openidc/commit/b59b8ad63411857090ba1088e23fe414c690c127>
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00025.html>
- <https://advisories.mageia.org/MGASA-2025-0147.html>
- <https://bugs.mageia.org/show_bug.cgi?id=34216>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/4RNEMKHJH72IHWVOIEQAKSXHOSDXQN3A/>
- <https://lists.debian.org/debian-security-announce/2025/msg00066.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3Z7RSITAKS2ICGANCQP2TDUHMS2LZDXR/>
- <https://ubuntu.com/security/notices/USN-7446-1>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20251286-1/>
- <https://bugzilla.suse.com/1240893>
- <https://www.suse.com/security/cve/CVE-2025-31492>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20251324-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20251337-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20251465-1/>
- <https://access.redhat.com/errata/RHSA-2025:3945>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2357738>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_3945.json>
- <https://access.redhat.com/security/cve/CVE-2025-31492>

---

Data as of 2026-12-05T11:27:55.075Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
