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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2026-25542

CVE-2026-25542: Tekton Pipelines Auth Bypass Vulnerability

CVE-2026-25542 is an authentication bypass flaw in Tekton Pipelines affecting versions 0.43.0 to 1.11.0 that allows attackers to bypass verification policies. This article covers the technical details, impact, and mitigation.

Published: April 23, 2026

CVE-2026-25542 Overview

CVE-2026-25542 is an Input Validation Error vulnerability in Tekton Pipelines, a Kubernetes-style resource framework for declaring CI/CD-style pipelines. The vulnerability affects versions 0.43.0 through 1.11.0 and stems from improper regex pattern anchoring in the trusted resources verification system. Attackers can bypass verification policies by crafting source strings that contain trusted patterns as substrings, potentially allowing unauthorized code execution in CI/CD pipelines.

Critical Impact

Attackers can bypass trusted resource verification policies in Tekton Pipelines, potentially injecting malicious pipeline tasks or resources into CI/CD workflows by exploiting unanchored regex pattern matching.

Affected Products

  • Tekton Pipelines versions 0.43.0 through 1.11.0
  • Kubernetes environments running vulnerable Tekton Pipelines releases
  • CI/CD systems utilizing Tekton trusted resources verification

Discovery Timeline

  • 2026-04-21 - CVE CVE-2026-25542 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-25542

Vulnerability Analysis

The vulnerability exists in Tekton Pipelines' trusted resources verification mechanism. The verification system uses Go's regexp.MatchString function to compare resource source strings (refSource.URI) against patterns defined in spec.resources[].pattern. The critical flaw is that regexp.MatchString in Go reports a match if the pattern matches anywhere within the input string, not just when the entire string matches the pattern.

This behavior means that unanchored regex patterns—including those provided in Tekton's official documentation examples—can be bypassed by crafting malicious source strings that embed the trusted pattern as a substring. When this bypass occurs, the wrong verification mode or cryptographic keys may be applied to a resource, fundamentally undermining the security model of trusted resource verification.

Root Cause

The root cause is classified as CWE-185 (Incorrect Regular Expression). The implementation fails to enforce proper regex anchoring with ^ (start anchor) and $ (end anchor) characters when matching resource source URIs against trusted patterns. Without these anchors, a pattern like github.com/trusted-org/ would match not only legitimate sources but also attacker-controlled URIs such as malicious.com/github.com/trusted-org/fake-path or github.com/trusted-org.attacker.com/.

Attack Vector

The attack vector is network-based, requiring the attacker to have low-privilege access to submit or modify pipeline resources. An attacker can exploit this vulnerability by:

  1. Identifying trusted patterns configured in the target Tekton installation's verification policies
  2. Crafting a malicious resource source URI that contains the trusted pattern as a substring
  3. Submitting the malicious resource, which passes verification due to the substring match
  4. Executing unauthorized pipeline tasks with potentially elevated privileges or accessing sensitive secrets

The vulnerability has high impact on integrity as it allows bypass of security controls designed to ensure only trusted code runs in CI/CD pipelines. For example, if a policy trusts resources from github.com/myorg/trusted-repo, an attacker could craft a URI like attacker.com/path/github.com/myorg/trusted-repo/malicious that would incorrectly pass verification.

Detection Methods for CVE-2026-25542

Indicators of Compromise

  • Unusual or malformed refSource.URI values in pipeline task definitions containing nested domain patterns
  • Pipeline executions sourced from unexpected repositories that appear to match trusted patterns
  • Verification policy matches for resources from domains containing legitimate trusted domain names as substrings
  • Audit logs showing resource verification passes for sources with suspicious URL structures

Detection Strategies

  • Review Tekton verification policy patterns for proper regex anchoring with ^ and $ characters
  • Implement logging and alerting for pipeline resource sources that contain URL-like strings within path components
  • Audit historical pipeline executions for resources that may have bypassed intended verification policies
  • Deploy admission controllers to validate resource source URIs match expected formats before processing

Monitoring Recommendations

  • Monitor Tekton controller logs for verification policy matches and analyze the matched source URIs
  • Set up alerts for pipeline executions from newly registered or untrusted source repositories
  • Implement network egress monitoring to detect connections to unexpected external repositories during pipeline execution
  • Review Tekton audit events for anomalous resource verification patterns

How to Mitigate CVE-2026-25542

Immediate Actions Required

  • Upgrade Tekton Pipelines to a patched version beyond 1.11.0
  • Review all existing verification policy patterns and add proper ^ and $ anchors to regex patterns
  • Audit recently executed pipelines for potential exploitation attempts
  • Implement additional admission control policies to validate resource sources

Patch Information

The Tekton project has addressed this vulnerability in a commit that fixes the regex pattern matching behavior. Organizations should update to the latest patched release and review the GitHub Security Advisory for complete remediation guidance.

Workarounds

  • Manually anchor all verification policy regex patterns with ^ at the start and $ at the end
  • Implement strict allowlist-based validation of resource sources at the admission controller level
  • Temporarily disable trusted resources verification and rely on alternative security controls until patching is complete
  • Use exact string matching instead of regex patterns where possible by escaping all special characters
bash
# Example: Update verification policy patterns with proper anchoring
# Before (vulnerable):
#   pattern: "github.com/myorg/trusted-repo"
#
# After (mitigated):
#   pattern: "^github\\.com/myorg/trusted-repo(/.*)?$"
#
# Verify your Tekton Pipelines version:
kubectl get deployment tekton-pipelines-controller -n tekton-pipelines -o jsonpath='{.spec.template.spec.containers[0].image}'

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechTekton

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-185
  • Technical References
  • GitHub Commit Changes

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40924: Tekton Pipelines HTTP Resolver DOS Flaw
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