Advisory

PYSEC-2026-252

Also known as: CVE-2022-39366, GHSA-r8gm-v65f-c973

Summary

acryl-datahub missing JWT signature check

Details

Missing JWT signature check (GHSL-2022-078)

The `StatelessTokenService` of the DataHub metadata service (GMS) does not verify the signature of JWT tokens. This allows an attacker to connect to DataHub instances as any user if Metadata Service authentication is enabled. This vulnerability occurs because the StatelessTokenService of the Metadata service uses the `parse` method of io.jsonwebtoken.JwtParser, which does not perform a verification of the cryptographic token signature. This means that JWTs are accepted regardless of the used algorithm.

Impact

This issue may lead to an authentication bypass.

Resources

Severity

Critical Basis: CVSS v3 score 9.9, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:L

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:22 UTC

Affected packages and fixes

acryl-datahub

PyPI · All systems

Affected

  • introduced 0, fixed 0.8.45 (ecosystem)

Fixed versions

0.8.45

Fix

  • Fixed version 0.8.45
    pip install --upgrade acryl-datahub==0.8.45

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences