Hackers now exploit critical Gitea flaw in code injection attacks
Hackers are exploiting a critical code injection flaw in the self-hosted Gitea service to run arbitrary shell commands.
Overview
Attackers are actively using a critical security flaw in Gitea, a self-hostedSoftware that an organization installs and runs on its own servers instead of using a vendor's cloud service software development platform, to run unauthorized commands on serversA computer or program on a network that stores data and responds to requests from client devices. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend, tracked as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-60004, allows users with write access to execute arbitrary shell commandsThe command-line interpreter program that accepts text commands and runs them on an operating system by submitting malicious patchesA software update released by a developer to fix a bug or close a security flaw. Because Gitea instances often allow anyone to register an account by default, attackers can create their own access without needing existing credentialsThe login details, such as a username and password or key, that prove who an account belongs to. This issue is significant because it lets intruders install malwareSoftware built to steal data, spy on users, lock files, or take control of a computer, such as cryptocurrencyDigital money tracked on a public ledger using cryptography instead of a central bank miners, on systems that organizations rely for managing code. The U.S. Cybersecurity and Infrastructure Security Agency added the flaw to its list of known exploited vulnerabilities and ordered federal agencies to fix it within three days. Nearly 5,000 Gitea servers are currently exposed online, and the agency warned that this type of vulnerability poses significant risks to the federal enterprise.
Terms in this story
- self-hosted
- Software that an organization installs and runs on its own servers instead of using a vendor's cloud service. Running a self-hosted password manager, code server, or chat platform gives a company full control over its data, but also means its own staff must install every security patch.
- servers
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- shell commands
- The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
- patches
- A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- malware
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- cryptocurrency
- Digital money tracked on a public ledger using cryptography instead of a central bank. Cryptocurrency appears constantly in cybersecurity news because ransomware gangs demand payment in digital coins and hackers target online exchanges and digital wallets directly.
- Hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- code injection
- A flaw where an application treats untrusted input from a user as executable code and runs it. Whenever a program builds code or scripts dynamically out of user input without strict separation, a code injection flaw can let an attacker run commands on the server.
- Software as a Service
- Cloud software hosted by a vendor and used through a web browser by subscription. Companies store email, payroll, and customer records in SaaS platforms, which means stolen login tokens or weak access settings can expose data without any malware on office laptops. Security+ objective 3.1 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the BleepingComputer website. Cite the article, not this page.
Read the full article on BleepingComputer (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"...critical-severity vulnerability in the Gitea self-hosted Git service..." Found by reading the article; these exact words are in it - Who is affected: "...authenticated user with repository write access..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"Hackers now exploit critical Gitea flaw in code injection attacks..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Hackers now exploit critical Gitea flaw in code injection attacks..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"Attackers are now exploiting a critical-severity vulnerability in the Gitea self-hosted Git service,..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"Attackers are now exploiting a critical-severity vulnerability in the Gitea self-hosted Git service, according..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Skill in exploiting system vulnerabilities to escalate privileges.
"...execute arbitrary shell commands as the Gitea OS user..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Over 8,300 Gitea servers vulnerable to code execution attacks
- Critical Gitea vulnerability now exploited in the wild (CVE-2026-60004)
- U.S. CISA adds Gitea flaw to its Known Exploited Vulnerabilities catalog
- Critical Gitea RCE Actively Exploited as Reported Attack Drops Miner-Like Payload