# CVE-2026-48990: joserfc: b64=false RFC7797 JWS payloads bypass JWSRegistry payload-size limits during deserialization

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-17T21:08:10.534Z
- Modified: 2026-10-26T12:10:00.130Z
- Also known as: GHSA-wphv-vfrh-23q5, PYSEC-2026-2530
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. In versions 1.3.4 through 1.6.5, joserfc accepts oversized RFC7797 b64=false JWS payloads without applying JWSRegistry.max_payload_length, which can lead to resource exhaustion. The normal JWS compact and flattened JSON paths reject payloads above the configured payload-size limit with ExceededSizeError. The RFC7797 unencoded payload paths do not make the same check. A valid b64=false compact or flattened JSON JWS can therefore deserialize successfully with a payload larger than JWSRegistry.max_payload_length. Applications that accept lower-trust JWS values and rely on joserfc to reject oversized token content during verification have a moderate availability risk. This issue has been fixed in version 1.6.7.

(As written by CVE List.)

## Affected

- authlib joserfc: < 1.6.7
- joserfc (PyPI): from 1.3.4 before 1.6.7

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/authlib/joserfc/security/advisories/GHSA-wphv-vfrh-23q5> (exploit, web)
- <https://github.com/authlib/joserfc/releases/tag/1.6.7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48990> (advisory)
- <https://github.com/authlib/joserfc> (package)
- <https://pypi.org/project/joserfc> (package)
- <https://github.com/advisories/GHSA-wphv-vfrh-23q5> (advisory)

## Sources

- CVE List: [CVE-2026-48990](https://www.cve.org/CVERecord?id=CVE-2026-48990), CVE Terms of Use, modified 2026-06-18
- GitHub Advisory Database: [GHSA-wphv-vfrh-23q5](https://github.com/advisories/GHSA-wphv-vfrh-23q5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-48990](https://nvd.nist.gov/vuln/detail/CVE-2026-48990), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2530](https://osv.dev/vulnerability/PYSEC-2026-2530), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-48990 · Whole record: https://cve.day/CVE-2026-48990.json · Rebuilt by cve.day 2026-11-25T22:59:25.006Z
