# CVE-2024-41948: biscuit-java vulnerable to public key confusion in third party block

- Severity: Low 3.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 36% of CVEs (2026-11-30)
- Published: 2024-07-31T18:48:40.000Z
- Modified: 2026-06-17T07:48:30.617Z
- Also known as: GHSA-5hcj-rwm6-xmw4
- Weaknesses: CWE-1259
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

biscuit-java is the java implementation of Biscuit, an authentication and authorization token for microservices architectures. Third-party blocks can be generated without transferring the whole token to the third-party authority. Instead, a ThirdPartyBlock request can be sent, providing only the necessary info to generate a third-party block and to sign it, which includes the public key of the previous block (used in the signature) and the public keys part of the token symbol table (for public key interning in datalog expressions). A third-part block request forged by a malicious user can trick the third-party authority into generating datalog trusting the wrong keypair. This vulnerability is fixed in 4.0.0.

(As written by CVE List.)

## Affected

- biscuit-auth biscuit-java: >= 3.0.0, < 4.0.0
- org.biscuitsec:biscuit (Maven): from 3.0.0 before 4.0.0
- biscuitsec biscuit-java: from 3.0.0 before 4.0.0

## Every score

- GitHub_M: CVSS:3.1 3.0 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:3.1 3.0 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N`
- NVD: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N`

## References

- <https://github.com/biscuit-auth/biscuit-java/security/advisories/GHSA-5hcj-rwm6-xmw4> (third-party-advisory, web)
- <https://github.com/biscuit-auth/biscuit/security/advisories/GHSA-rgqv-mwc3-c78m> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-41948> (advisory)
- <https://github.com/biscuit-auth/biscuit-java/commit/2e05e7b3f8f2aae38f33294f19419e2d638cb564> (web)
- <https://github.com/biscuit-auth/biscuit-java> (package)
- <https://github.com/biscuit-auth/biscuit-java/releases/tag/4.0.0> (web)

## Sources

- CVE List: [CVE-2024-41948](https://www.cve.org/CVERecord?id=CVE-2024-41948), CVE Terms of Use, modified 2024-08-07
- GitHub Advisory Database: [GHSA-5hcj-rwm6-xmw4](https://github.com/advisories/GHSA-5hcj-rwm6-xmw4), CC-BY-4.0, modified 2024-11-25
- NVD: [CVE-2024-41948](https://nvd.nist.gov/vuln/detail/CVE-2024-41948), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41948 · Whole record: https://cve.day/CVE-2024-41948.json · Rebuilt by cve.day 2026-11-25T22:58:43.529Z
