Skip to content

fix(security): Upgrade pac4j to 4.5.9 for CVE-2026-29000 - #451

Closed
abhu85 wants to merge 1 commit into
OHDSI:masterfrom
abhu85:fix/cve-2026-29000-pac4j-upgrade
Closed

fix(security): Upgrade pac4j to 4.5.9 for CVE-2026-29000#451
abhu85 wants to merge 1 commit into
OHDSI:masterfrom
abhu85:fix/cve-2026-29000-pac4j-upgrade

Conversation

@abhu85

@abhu85 abhu85 commented Mar 14, 2026

Copy link
Copy Markdown

Summary

Upgrades pac4j dependency from 3.3.0 to 4.5.9 to address CVE-2026-29000 (CVSS 9.1 CRITICAL) - an authentication bypass vulnerability in pac4j-jwt.

Vulnerability Details

  • CVE ID: CVE-2026-29000
  • CVSS Score: 9.1 (Critical)
  • Impact: Authentication bypass in JWT validation
  • Affected Versions: pac4j < 4.5.9, < 5.7.5, < 6.0.4
  • Fixed In: 4.5.9 (v4.x branch), 5.7.5 (v5.x branch), 6.0.4 (v6.x branch)

Changes Made

  1. Upgraded pac4j version from 3.3.0 → 4.5.9 in pom.xml
  2. Updated import path for Pac4jConstants in CustomLogoutLogic.java:
    • Changed: org.pac4j.core.context.Pac4jConstants
    • To: org.pac4j.core.util.Pac4jConstants
    • This is a required API change when upgrading from pac4j v3 to v4

Testing Recommendations

  • Verify JWT authentication flows still function correctly
  • Test SAML authentication (used in central logout logic)
  • Validate session management and logout functionality
  • Check API token authentication with ApiTokenAuthClient

Security Context

As a healthcare platform managing OHDSI vocabularies and terminology databases, ensuring authentication integrity is critical. This vulnerability could allow unauthorized access to sensitive medical data infrastructure.

Related Work

  • Related PR in OHDSI/WebAPI: #2496

🔒 Please prioritize review and merge of this security fix.

🤖 Generated with Claude Code

Addresses CVE-2026-29000 (CVSS 9.1) - Authentication Bypass in pac4j-jwt

Changes:
- Upgrade pac4j from 3.3.0 to 4.5.9 (minimum fixed version)
- Update Pac4jConstants import path (context → util) per v4 API changes

Security Impact:
This vulnerability allows attackers to bypass JWT authentication through
a critical flaw in the pac4j-jwt library. Given this is a healthcare
platform managing OHDSI vocabularies, ensuring authentication integrity
is paramount for protecting sensitive medical terminology data.

References:
- CVE-2026-29000
- pac4j Security Advisory
@abhu85
abhu85 force-pushed the fix/cve-2026-29000-pac4j-upgrade branch from e738b99 to 60f3121 Compare March 14, 2026 21:40
@konstjar konstjar closed this Aug 3, 2026
@abhu85
abhu85 deleted the fix/cve-2026-29000-pac4j-upgrade branch August 3, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants