DataHub missing JWT signature check
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.
Summary
DataHub is an open-source metadata platform. Prior to version 0.8.45, 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. This issue may lead to an authentication bypass. Version 0.8.45 contains a patch for the issue. There are no known workarounds.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| datahub-project | datahub | before 0.8.45 | 0.8.45 | Patch available | CNA |
| — | acryl-datahub (PyPI) | before 0.8.45 | 0.8.45 | Patch available | GHSA-r8gm-v65f-c973 |
- datahub Vendordatahub-project Affected before 0.8.45 Fixed in 0.8.45 Patch available CNA
- acryl-datahub (PyPI) Vendor— Affected before 0.8.45 Fixed in 0.8.45 Patch available GHSA-r8gm-v65f-c973
Remediation
- Fix · CNA datahub (datahub-project) Fixed in 0.8.45
- Fix · GHSA-r8gm-v65f-c973 acryl-datahub (PyPI) Fixed in 0.8.45 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-39366
- 2026-10-03 Alias added: GHSA-r8gm-v65f-c973
References
Exploit 2
- https://github.com/datahub-project/datahub/blob/aa146db611e3a4ca3aa17bb740783f789d4444d3/metadata-service/auth-impl/src/main/java/com/datahub/authentication/token/StatelessTokenService.java#L134
- https://github.com/datahub-project/datahub/blob/aa146db611e3a4ca3aa17bb740783f789d4444d3/metadata-service/auth-impl/src/main/java/com/datahub/authentication/token/StatelessTokenService.java#L30
Advisory 4
More datahub-project vulnerabilities
- TI-2024-14983 Default Privileges allow for high level operations for low privileged users in datahub CVSS 3.1HIGH 8.8
- TI-2023-25771 Privilege escalation through email sign-up in datahub CVSS 3.1HIGH 8.0
- TI-2023-25770 Session Expiration Misconfiguration in datahub CVSS 3.1MEDIUM 4.8
- TI-2023-10860 Server-Side Request Forgery in DataHub CVSS 3.1CRITICAL 9.1
- TI-2023-10863 JSON Injection in DataHub CVSS 3.1CRITICAL 9.8
- TI-2023-10865 Failure to Invalidate Session on Logout in DataHub CVSS 3.1CRITICAL 9.8
Sources
- CVE-2022-39366 · CVE Program
- CVE-2022-39366 · NVD
- FIRST EPSS
- GHSA-r8gm-v65f-c973 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences