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

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

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.27% (percentile 11, 2026-11-26)
- **CWE:** CWE-400, CWE-770
- **Aliases:** GHSA-wphv-vfrh-23q5, PYSEC-2026-2530
- **Published:** 2026-06-17T21:08:10.534Z
- **Modified:** 2026-10-26T12:10:00.130Z

## Who should check

- Projects that depend on PyPI package joserfc (\>= 1.3.4, \< 1.6.7)
- Anyone running authlib joserfc \< 1.6.7

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

## Affected and fixed versions

- PyPI `joserfc`: affected \>= 1.3.4, \< 1.6.7; fixed 1.6.7 (osv)
- authlib joserfc: \< 1.6.7 (cvelist)

## Mitigation

- Upgrade joserfc to 1.6.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-48990. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-48990.md
Affected: joserfc >= 1.3.4, < 1.6.7
Fixed in: 1.6.7

Steps:
1. Search this machine and project for joserfc (PyPI), authlib joserfc: 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-2026-48990 being exploited?

There is no confirmed exploitation: CVE-2026-48990 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-48990?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-48990?

joserfc \>= 1.3.4, \< 1.6.7.

### Is there a fix for CVE-2026-48990?

Yes. Fixed in 1.6.7. Upgrade joserfc to 1.6.7 or later.

### How do I check if I'm affected by CVE-2026-48990?

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/authlib/joserfc/security/advisories/GHSA-wphv-vfrh-23q5>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-48990>
- vendor: <https://github.com/advisories/GHSA-wphv-vfrh-23q5>
- other: <https://github.com/authlib/joserfc/releases/tag/1.6.7>
- other: <https://github.com/authlib/joserfc>
- other: <https://pypi.org/project/joserfc>

## 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-2026-48990>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-wphv-vfrh-23q5> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2530> (license: <https://creativecommons.org/licenses/by/4.0/>)

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