# CVE-2021-39191: URL Redirection to Untrusted Site ('Open Redirect') in mod\_auth\_openidc

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-09-03 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-39191, DEBIAN-CVE-2021-39191
- Record: https://cvemate.com/vulnerability/CVE-2021-39191 · JSON: https://cvemate.com/vulnerability/CVE-2021-39191/json

## Description

```text
mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating users against an OpenID Connect Provider. In versions prior to 2.4.9.4, the 3rd-party init SSO functionality of mod_auth_openidc was reported to be vulnerable to an open redirect attack by supplying a crafted URL in the `target_link_uri` parameter. A patch in version 2.4.9.4 made it so that the `OIDCRedirectURLsAllowed` setting must be applied to the `target_link_uri` parameter. There are no known workarounds aside from upgrading to a patched version.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 1.735%, percentile 78.464%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian libapache2-mod-auth-openidc (Debian): \< 2.4.9.4-1
- ubuntu libapache2-mod-auth-openidc (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 10.0
- fedoraproject fedora: 35 \| 36
- openidc mod\_auth\_openidc: \< 2.4.9.4
- zmartzone mod\_auth\_openidc: ≤ 2.4.9.3

## References

- <https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-2pgf-8h6h-gqg2>
- <https://github.com/zmartzone/mod_auth_openidc/issues/672>
- <https://github.com/zmartzone/mod_auth_openidc/commit/03e6bfb446f4e3f27c003d30d6a433e5dd8e2b3d>
- <https://github.com/zmartzone/mod_auth_openidc/releases/tag/v2.4.9.4>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/32RGPW5LZDLDTB7MKZIGAHPSLFOUNWR5/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RHXO4O4G2UQS7X6OQJCVZKHZAQ7SAIFB/>
- <https://lists.debian.org/debian-lts-announce/2023/07/msg00020.html>
- <https://ubuntu.com/security/CVE-2021-39191>
- <https://www.cve.org/CVERecord?id=CVE-2021-39191>
- <https://security-tracker.debian.org/tracker/CVE-2021-39191>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39191>

---

Data as of 2026-12-05T11:26:19.936Z. 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
