The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-68931

CVE-2025-68931: Jervis Library Encryption Vulnerability

CVE-2025-68931 affects Jervis, a library for Jenkins Job DSL and pipeline scripts. The AES/CBC/PKCS5Padding encryption lacks authentication, enabling padding oracle attacks. This article covers technical details, affected versions, and fixes.

Updated: January 22, 2026

CVE-2025-68931 Overview

CVE-2025-68931 is a padding oracle attack vulnerability in Jervis, a library for Job DSL plugin scripts and shared Jenkins pipeline libraries. Prior to version 2.2, the library uses AES/CBC/PKCS5Padding encryption without proper authentication, making it vulnerable to padding oracle attacks and ciphertext manipulation. This cryptographic weakness allows attackers to decrypt sensitive data or forge encrypted values without possessing the encryption key.

Critical Impact

Attackers can exploit this vulnerability to manipulate encrypted data or potentially decrypt sensitive information in Jenkins CI/CD pipelines using unauthenticated AES/CBC encryption.

Affected Products

  • Jervis library versions prior to 2.2
  • Jenkins environments using vulnerable Jervis library for Job DSL scripts
  • Jenkins pipeline configurations leveraging shared Jervis libraries

Discovery Timeline

  • 2026-01-13 - CVE CVE-2025-68931 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2025-68931

Vulnerability Analysis

This vulnerability falls under CWE-287 (Improper Authentication) and represents a classic cryptographic weakness where encryption is used without authentication. The Jervis library implemented AES encryption in CBC mode with PKCS5 padding but failed to include an authentication mechanism such as HMAC or an authenticated encryption mode like GCM.

Without authentication, an attacker who can intercept or access encrypted data can mount a padding oracle attack. In this attack, the adversary iteratively manipulates ciphertext bytes and observes whether the decryption process accepts or rejects the modified padding. Through careful analysis of these responses, the attacker can progressively decrypt the entire ciphertext block by block.

The network-accessible nature of this vulnerability combined with no privilege requirements makes it particularly dangerous in CI/CD environments where Jenkins stores sensitive configuration data, credentials, and secrets that may be encrypted using this vulnerable implementation.

Root Cause

The root cause is the use of AES/CBC/PKCS5Padding without message authentication. CBC mode encryption alone provides confidentiality but does not protect against tampering. When PKCS5 padding validation errors are exposed (either directly through error messages or indirectly through timing differences), attackers can use these as an oracle to systematically decrypt data. The fix in version 2.2 addresses this by implementing proper authenticated encryption.

Attack Vector

The attack can be executed remotely over the network without requiring authentication or user interaction. An attacker with access to encrypted ciphertext can:

  1. Capture encrypted data transmitted or stored by Jervis
  2. Submit modified ciphertext to the decryption routine
  3. Observe padding validation responses (valid/invalid)
  4. Use differential analysis to deduce plaintext byte values
  5. Repeat the process to decrypt the entire message or forge valid ciphertext

The vulnerability mechanism relies on the predictable padding validation behavior in PKCS5. When a ciphertext block is modified, the padding check will fail unless the attacker correctly guesses the intermediate state value. By systematically testing all 256 possible byte values for each position, the attacker can reverse the CBC decryption process. See the GitHub Security Advisory GHSA-gxp5-mv27-vjcj for additional technical details.

Detection Methods for CVE-2025-68931

Indicators of Compromise

  • Unusual patterns of decryption errors in Jenkins logs indicating potential padding oracle probing
  • High volume of requests with modified encrypted payloads to Jervis-dependent endpoints
  • Repeated failed decryption attempts followed by incremental ciphertext modifications
  • Unexpected changes to encrypted configuration values or credentials

Detection Strategies

  • Monitor Jenkins application logs for padding-related error messages that could indicate active exploitation attempts
  • Implement anomaly detection for unusual patterns of cryptographic operation failures
  • Review dependency inventories to identify Jervis library versions prior to 2.2
  • Use software composition analysis (SCA) tools to flag vulnerable library versions in Jenkins deployments

Monitoring Recommendations

  • Enable verbose logging for cryptographic operations in Jenkins environments
  • Set up alerting for multiple consecutive decryption failures from the same source
  • Monitor network traffic for patterns consistent with padding oracle attack attempts (repeated similar requests with slight variations)
  • Regularly audit Jenkins plugin and library versions for known vulnerabilities

How to Mitigate CVE-2025-68931

Immediate Actions Required

  • Upgrade Jervis library to version 2.2 or later immediately
  • Review Jenkins configurations for any use of affected Jervis library versions
  • Rotate any credentials or secrets that may have been encrypted using the vulnerable implementation
  • Audit access logs for any suspicious decryption activity that may indicate prior exploitation

Patch Information

The vulnerability has been fixed in Jervis version 2.2. The fix implements proper authenticated encryption to prevent padding oracle attacks and ciphertext manipulation. The patch details can be reviewed in the GitHub commit c3981ff71de7b0f767dfe7b37a2372cb2a51974a. Organizations should update their Jervis library dependencies to the patched version as soon as possible.

Workarounds

  • If immediate upgrade is not possible, consider isolating Jenkins instances using vulnerable Jervis versions from network access
  • Implement additional network-layer encryption (TLS) to protect encrypted payloads in transit
  • Avoid storing highly sensitive data using the vulnerable encryption mechanism until the upgrade is complete
  • Monitor for exploitation attempts while planning the upgrade
bash
# Upgrade Jervis library to patched version
# Update your build configuration (Gradle example)
# dependencies {
#     implementation 'net.gleske:jervis:2.2'
# }

# Verify current Jervis version in your Jenkins environment
grep -r "jervis" ~/.jenkins/plugins/ | grep -i version

# After upgrade, rotate any encrypted credentials
# Review Jenkins credential store and update affected secrets

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechJervis

  • SeverityHIGH

  • CVSS Score8.7

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-287
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-gxp5-mv27-vjcj
  • Related CVEs
  • CVE-2025-68704: Jervis Timing Attack Vulnerability

  • CVE-2025-68925: Jervis JWT Algorithm Verification Flaw

  • CVE-2025-68702: Jervis Library Hash Padding Vulnerability

  • CVE-2025-68701: Jervis Library Cryptographic Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English