CVE-2025-68925 Jervis has a JWT Algorithm Confusion Vulnerability

Medium 6.9 Published Updated

Attackers can bypass authentication in Jervis by exploiting JWT algorithm confusion, allowing unauthorized access to Jenkins pipeline scripts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-68925?

CVE-2025-68925 is a medium-severity authentication bypass vulnerability in samrocketman jervis, published on 13 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Jervis is a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to 2.2, the code doesn't validate that the JWT header specifies "alg":"RS256". This vulnerability is fixed in 2.2.

Weakness: CWE-347

Which versions are affected by CVE-2025-68925?

2 open source packages ship an affected version, including net.gleske:jervis. It affects 1 product.

PackageAffectedFixed in
net.gleske:jervis MavenAll versions2.2
net.gleske:jervis MavenAll versions2.2

Products include Samrocketman Jervis.

How do I fix CVE-2025-68925?

Upgrade net.gleske:jervis to 2.2 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2025-68925 being exploited?

There is no known exploitation of CVE-2025-68925 in the wild and no public exploit code.

Sources

Also known as GHSA-5pq9-5mpr-jj85.

Is CVE-2025-68925 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free