Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. joserfc
  4. ›
  5. CVE-2026-48990

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

June 26, 2026

Testing revealed that joserfc accepts oversized RFC7797 b64=false JWS payloads without applying JWSRegistry.max_payload_length.

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.

This creates a moderate availability/resource-exhaustion risk for applications that accept lower-trust JWS values and rely on joserfc to reject oversized token content during verification.

References

  • github.com/advisories/GHSA-wphv-vfrh-23q5
  • github.com/authlib/joserfc/releases/tag/1.6.7
  • github.com/authlib/joserfc/security/advisories/GHSA-wphv-vfrh-23q5
  • nvd.nist.gov/vuln/detail/CVE-2026-48990

Code Behaviors & Features

Detect and mitigate CVE-2026-48990 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.3.4 before 1.6.7

Fixed versions

  • 1.6.7

Solution

Upgrade to version 1.6.7 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/joserfc/CVE-2026-48990.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:34 +0000.