Home / Pac4j / Pac4j / CVE-2021-44878
CVE-2021-44878: is it exploited, and which versions of Pac4j are affected and fixed?
CVE-2021-44878 is a cryptographic signature not verified vulnerability in Pac4j. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: org.pac4j:pac4j-oidc before 4.5.5 and org.pac4j:pac4j-oidc from 5.0 before 5.3.1 (GitHub advisory GHSA-xhw6-hjc9-679m). Fixed in 4.5.5 and 5.3.1 (GitHub advisory GHSA-xhw6-hjc9-679m). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:52 UTC.
What is CVE-2021-44878?
If an OpenID Connect provider supports the "none" algorithm (i.e., tokens with no signature), pac4j v5.3.0 (and prior) does not refuse it without an explicit configuration on its side or for the "idtoken" response type which is not secure and violates the OpenID Core Specification. The "none" algorithm does not require any signature verification when validating the ID tokens, which allows the attacker to bypass the token validation by injecting a malformed ID token using "none" as the value of "alg" key in the header with an empty signature value.
From the CVE record by mitre, last updated August 4, 2024, 04:32 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.pac4j:pac4j-oidc | < 4.5.5 | 4.5.5 | GHSA-xhw6-hjc9-679m |
| Maven | org.pac4j:pac4j-oidc | >= 5.0, < 5.3.1 | 5.3.1 | GHSA-xhw6-hjc9-679m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 26, 2023. Summary: Pac4j token validation bypass if OpenID Connect provider supports none algorithm.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pac4j | pac4j | before 4.5.5 | application |
| pac4j | pac4j | from 5.0.0 before 5.3.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:12 UTC.
How severe is CVE-2021-44878?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-44878 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.90% probability of exploitation activity in the next 30 days, percentile 60.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-347 Improper Verification of Cryptographic Signature
Where are the vendor advisories and references?
- https://github.com/pac4j/pac4j/commit/22b82ffd702a132d9f09da60362fc6264fc281ae x_refsource_MISC
- https://openid.net/specs/openid-connect-core-1_0.html#IDToken x_refsource_MISC
- https://www.pac4j.org/blog/cve_2021_44878_is_this_serious.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 13, 2021
- Published
- January 6, 2022, 12:52 UTC
- CVE record updated
- August 4, 2024, 04:32 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:12 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Pac4j?
- Aug 29, 2026CVE-2026-82465 pac4j: data authenticity not verified
- Aug 29, 2026CVE-2026-82464 pac4j: open redirect
- Aug 29, 2026CVE-2026-82463 pac4j: incorrect authorization
- Aug 29, 2026CVE-2026-82462 pac4j: data authenticity not verified
- Aug 29, 2026CVE-2026-82461 pac4j: cryptographic signature not verified
- Apr 17, 2026CVE-2026-40459 PAC4J: LDAP injection
- Apr 17, 2026CVE-2026-40458 PAC4J: cross-site request forgery (CSRF)
- Oct 10, 2024CVE-2023-25581 pac4j: deserialization of untrusted data
Questions about CVE-2021-44878
Is CVE-2021-44878 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.90% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Pac4j are affected by CVE-2021-44878?
org.pac4j:pac4j-oidc before 4.5.5 and org.pac4j:pac4j-oidc from 5.0 before 5.3.1, per the GitHub advisory GHSA-xhw6-hjc9-679m. The tables above give every range the sources list.
Which version fixes CVE-2021-44878?
4.5.5 and 5.3.1, per the GitHub advisory GHSA-xhw6-hjc9-679m. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-44878?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-44878?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.