Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    gitea ci injection

    1

    Identify and exploit Gitea Actions CI/CD vulnerabilities, including auth bypasses and rogue runner registration.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    gitea ci injection

    gitea ci injection

    Example session with this skill installed

    Target Gitea instance at gitea.internal is version 1.25.0. I have read access. Check for CI injection vulnerabilities and provide an exploit path for the runner host.

    • Read your context and instructions
    • Compiled the gitea ci injection

    I have analyzed the target Gitea instance. The version (1.25.0) is vulnerable to

    CVE-2026-26231 (PR Auth Bypass) and lacks protection against rogue runner registration.

    Gitea CI Exploit Analysis

    VectorStatusRequirements
    CVE-2026-26231VulnerableGitea <= 1.26.1, Git HTTP/SSH access
    npm preinstallPotentialnpm ci or npm install in .gitea/workflows
    Self-Registered RunnerHighly LikelyUser-level registration tokens enabled
    SSSD Auth BypassActiveSPNEGO available for token generation

    Exploit Path: Rogue Runner Registration

    Since fork-side on: push workflows queue indefinitely on upstream runners, use the self-registration vector to execute code as the runner service account.

    1. Get Registration Token:
    curl --negotiate -u : http://gitea.internal/api/v1/user/actions/runners/registration-token
    
    1. Register Host Executor:
      Deploy act_runner to the host and register with a host label to bypass Docker requirements:
    ./act_runner register --instance http://gitea.internal --token <TOKEN> --labels ubuntu:host:// --no-interactive
    
    1. Trigger Execution:
      Push a workflow to your fork. The rogue runner will claim the job, executing your payload directly on the host OS.

    Next steps

    • Verify if port 22 or 2222 is open for the CVE-2026-26231 push bypass.
    • Check .gitea/workflows in the target repo for npm command triggers.
    • Download the act_runner binary for linux-amd64 to prepare for host registration.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Gitea Actions environments often lack strict isolation between fork workflows and upstream runners. Developers and security auditors need to identify how authenticated users with read-only access can escalate privileges through CI/CD pipelines.

    What it does

    • Identifies and exploits CVE-2026-26231 to bypass write checks via reverse-fork PRs.
    • Injects malicious preinstall scripts into package.json to capture runner host sessions.
    • Circumvents SSSD/LDAP basic auth failures (HTTP 500) using SPNEGO-capable API endpoints.
    • Registers rogue user-level act_runner instances to hijack queued fork workflows.
    • Automates version detection for Gitea CVEs including 2026-27780 and 2026-26292.

    Frameworks & tools

    Gitea Actions, act_runner, Git HTTP/SSH, npm/Node.js, and SSSD/LDAP authentication backends.

    Why this beats prompting it yourself

    Standard LLMs struggle with the specific sequence of API calls needed for Gitea reverse-fork PR binding. This skill handles the nuances of runner scoping and provides verified workarounds for common SSSD authentication failures that stall basic exploit attempts.

    Use cases

    • Perform authorized red team assessments on Gitea-based internal CI/CD infra.
    • Audit Gitea runner registration policies for unauthorized user-level tokens.
    • Test pipeline resilience against malicious npm lifecycle scripts in PRs.

    Known limitations

    Requires a Gitea account with at least read access to the target repository. The CVE bypass applies to Git protocol pushes, not API content updates.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.

    Requires Gitea read access. CVE bypass works via Git push, not API content updates. Runners must be active to intercept PR jobs.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 months ago

    Permissions

    Terminal / Shell
    Network Access
    Listed2 months ago

    What's inside

    Frequently Asked Questions

    This skill automates the identification of Gitea Actions misconfigurations, specifically focusing on CVE-2026-26231 bypasses, rogue runner registration, and session hijacking through malicious npm lifecycle scripts.

    Yes, this skill requires an active Gitea account with at least read-access permissions to the target repository to initiate the discovery and exploitation sequences.

    This skill is compatible with AI agents supporting Git and HTTP protocol interactions, designed to function within standard red-teaming frameworks and automated security audit pipelines.

    The skill is regularly updated to include the latest Gitea security advisories, such as CVE-2026-27780 and CVE-2026-26292, ensuring your audits remain effective against recent patches.

    You receive the fully optimized agent skill, comprehensive documentation on the supported CVEs, and a set of automated playbooks for testing runner scoping and SSSD/LDAP authentication bypasses.

    The reverse-fork PR binding and Git protocol bypasses are effective against Gitea's internal Actions engine and `act_runner` instances, specifically addressing isolation gaps between forks and upstream repositories.

    New in Security