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-42603

CVE-2026-42603: OWASP BLT Workflow RCE Vulnerability

CVE-2026-42603 is a remote code execution flaw in OWASP BLT's GitHub workflow that enables attackers to execute malicious code with write permissions. This article covers technical details, affected versions, and mitigation.

Published: May 18, 2026

CVE-2026-42603 Overview

CVE-2026-42603 is a code injection vulnerability in OWASP BLT, a quality assurance testing and vulnerability disclosure platform that covers websites, applications, and git repositories. Versions prior to 2.1.2 ship a GitHub Actions workflow at .github/workflows/pre-commit-fix.yaml that uses the privileged pull_request_target trigger. The workflow then checks out and executes code directly from the attacker-controlled fork. This combination allows untrusted pull request contributors to execute arbitrary code in a context with write permissions to the upstream repository. The issue is classified as [CWE-94] Improper Control of Generation of Code. Maintainers fixed the issue in version 2.1.2.

Critical Impact

Attackers can achieve remote code execution within the GitHub Actions runner and obtain write access to the OWASP BLT repository, enabling supply chain compromise.

Affected Products

  • OWASP BLT versions prior to 2.1.2
  • The vulnerable workflow file .github/workflows/pre-commit-fix.yaml
  • Forks of OWASP BLT that retained the affected workflow

Discovery Timeline

  • 2026-05-11 - CVE-2026-42603 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-42603

Vulnerability Analysis

The vulnerability stems from misuse of the GitHub Actions pull_request_target event trigger. Unlike the standard pull_request trigger, pull_request_target runs in the context of the base repository with access to repository secrets and a GITHUB_TOKEN that holds write permissions. GitHub documentation explicitly warns against checking out untrusted pull request code under this trigger.

The OWASP BLT workflow .github/workflows/pre-commit-fix.yaml violates that guidance. It checks out the head ref from the pull request, which points at the attacker's fork, and then executes pre-commit hooks defined in that fork. Any malicious script the attacker places in the fork executes inside the privileged runner. This is the classic "pwn request" pattern affecting GitHub Actions pipelines.

Root Cause

The root cause is the combination of a privileged workflow trigger with an unsafe checkout of attacker-controlled content. The workflow assumes contributor code is trustworthy while executing in a context that holds write credentials to the upstream repository.

Attack Vector

An external attacker forks the OWASP BLT repository, modifies pre-commit configuration or referenced scripts to include malicious commands, and opens a pull request against the upstream project. Opening the pull request triggers the workflow, which checks out the attacker's branch and runs the pre-commit logic with the upstream GITHUB_TOKEN. The attacker can exfiltrate secrets, push commits to protected branches, publish releases, or alter source code. User interaction is limited to opening the pull request, since no maintainer approval is required for pull_request_target runs on first-time contributors in many configurations.

See the GitHub Security Advisory GHSA-cgvj-qg2h-cqfh for the maintainer write-up.

Detection Methods for CVE-2026-42603

Indicators of Compromise

  • Unexpected commits, tags, or releases authored by github-actions[bot] in the OWASP BLT repository
  • Workflow runs of pre-commit-fix.yaml triggered by external pull requests that reference unfamiliar forks
  • Outbound network connections from GitHub-hosted runners to attacker-controlled hosts during workflow execution
  • New or rotated repository secrets, deploy keys, or personal access tokens shortly after suspicious workflow runs

Detection Strategies

  • Audit all workflow files for the pull_request_target trigger combined with actions/checkout referencing github.event.pull_request.head.sha or head.ref
  • Review GitHub Actions run logs for pre-commit-fix.yaml executions originating from forks prior to upgrading to 2.1.2
  • Correlate repository write events (push, release, create) with the identity and timing of recent workflow runs

Monitoring Recommendations

  • Enable GitHub audit log streaming to a SIEM and alert on workflow runs that modify protected branches or secrets
  • Require maintainer approval for workflows from first-time contributors using the Require approval for all outside collaborators setting
  • Monitor for changes to .github/workflows/ directories using branch protection and signed commit policies

How to Mitigate CVE-2026-42603

Immediate Actions Required

  • Upgrade OWASP BLT to version 2.1.2 or later, which removes the unsafe checkout pattern
  • Rotate any secrets, tokens, or deploy keys that were accessible to the vulnerable workflow
  • Review repository commit history and release artifacts for unauthorized changes introduced through forked pull requests

Patch Information

The maintainers fixed CVE-2026-42603 in OWASP BLT 2.1.2. The fix removes execution of attacker-controlled code under the pull_request_target trigger. Refer to the GitHub Security Advisory GHSA-cgvj-qg2h-cqfh for the patch commit and release notes.

Workarounds

  • Replace pull_request_target with the standard pull_request trigger when the workflow needs to execute contributor code
  • If pull_request_target is required, check out only the base repository ref and never execute scripts from github.event.pull_request.head.*
  • Restrict GITHUB_TOKEN permissions in the workflow to contents: read using a top-level permissions: block
  • Disable or delete the pre-commit-fix.yaml workflow until the upgrade can be applied
bash
# Configuration example: minimal-permission workflow trigger
name: pre-commit-fix
on:
  pull_request:
    branches: [ main ]
permissions:
  contents: read
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          persist-credentials: false
      - run: pre-commit run --all-files

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOwasp Blt

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40316: OWASP BLT Workflow RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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