Cyber Posture

CVE-2025-68702

High

Published: 13 January 2026

Published
13 January 2026
Modified
20 January 2026
KEV Added
Patch
CVSS Score 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS Score 0.0002 5.3th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-68702 is a high-severity Use of a Broken or Risky Cryptographic Algorithm (CWE-327) vulnerability in Samrocketman Jervis. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 5.3th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190).
Threat & Defense Details

Likely Mitigating ControlsAI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-327

Contacts with security groups provide timely information on broken or risky cryptographic algorithms, reducing the likelihood of their selection and use.

addresses: CWE-327

Ongoing education and sharing of recommended practices helps organizations identify and migrate away from broken or risky cryptographic algorithms.

addresses: CWE-327

Cross-organization threat feeds commonly include advances in cryptanalysis and active exploits against weak or broken algorithms, allowing organizations to deprecate them proactively.

addresses: CWE-327

Capital planning and funding allow selection and ongoing support of strong cryptographic algorithms rather than weak or broken ones.

addresses: CWE-327

Risk updates surface newly-broken or risky cryptographic algorithms as threat intelligence and computing advances evolve, enabling timely replacement.

addresses: CWE-327

Scanners flag use of broken or weak cryptographic algorithms via known-vulnerability databases.

addresses: CWE-327

Enforces approved cryptographic algorithms for each use case, blocking use of broken or risky algorithms.

addresses: CWE-327

Flaw remediation replaces broken or risky cryptographic algorithms once safer implementations are released by vendors.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Why these techniques?

Vulnerability in public-facing Jenkins library enables remote unauthenticated exploitation to bypass hash integrity checks and inject/alter pipeline scripts.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

NVD Description

Jervis is a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to 2.2, Jervis uses padLeft(32, '0') when it should use padLeft(64, '0') because SHA-256 produces 32 bytes which equates to 64 hex characters. This vulnerability…

more

is fixed in 2.2.

Deeper analysisAI

CVE-2025-68702 affects Jervis, a library used for Job DSL plugin scripts and shared Jenkins pipeline libraries, in versions prior to 2.2. The vulnerability stems from incorrect padding in hash string handling: the library applies padLeft(32, '0') to SHA-256 outputs, which produce 32 bytes or 64 hexadecimal characters, instead of the required padLeft(64, '0'). This constitutes a cryptographic misuse classified under CWE-327. The issue was published on 2026-01-13 and carries a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N), indicating high severity due to integrity impacts.

Any unauthenticated attacker with network access to a vulnerable Jenkins instance using Jervis can exploit this flaw with low complexity and no user interaction required. The padding error likely enables hash truncation or manipulation during validation processes in Job DSL or pipeline scripts, allowing attackers to bypass integrity checks on hashes. Successful exploitation results in high integrity impact (I:H), potentially permitting the injection or alteration of malicious scripts, configurations, or artifacts within Jenkins pipelines, while confidentiality and availability remain unaffected.

The GitHub security advisory (GHSA-67rj-pjg6-pq59) and fixing commit (c3981ff71de7b0f767dfe7b37a2372cb2a51974a) confirm the vulnerability is resolved in Jervis version 2.2 by correcting the padding to padLeft(64, '0'). Security practitioners should upgrade affected Jenkins shared libraries or Job DSL scripts to Jervis 2.2 or later as the primary mitigation, reviewing any custom hash-handling logic in pipelines for similar issues.

Details

CWE(s)

Affected Products

samrocketman
jervis
≤ 2.2

CVEs Like This One

CVE-2025-68704Same product: Samrocketman Jervis
CVE-2025-68698Same product: Samrocketman Jervis
CVE-2025-68931Same product: Samrocketman Jervis
CVE-2025-68701Same product: Samrocketman Jervis
CVE-2025-68703Same product: Samrocketman Jervis
CVE-2026-21718Shared CWE-327
CVE-2026-22585Shared CWE-327
CVE-2025-22475Shared CWE-327
CVE-2025-2539Shared CWE-327
CVE-2026-34950Shared CWE-327

References