Critical GitLab flaw allows attackers to delete and modify public repos
A critical flaw lets attackers delete or modify public code repositories without credentials, a risk GitLab has fixed.
Overview
GitLab fixed a critical vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend that allows attackers to delete or modify public code repositories without needing credentialsThe login details, such as a username and password or key, that prove who an account belongs to or user interaction. This flaw, tracked as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-19478, is a code injectionA flaw where an application treats untrusted input from a user as executable code and runs it issue that can be exploited with a single HTTP requestA message a browser or app sends to a web server to fetch or submit data. The vulnerability is particularly dangerous for organizations that self-host GitLab on their own serversA computer or program on a network that stores data and responds to requests from client devices because it can lead to software supply chainAll the open-source libraries, build tools, code repositories, and update servers that go into making a program attacks. Attackers can use the flaw to rewrite repository states, forge merge records, ban maintainersThe developer or small team responsible for reviewing changes and publishing releases for an open-source project, and delete entire projects. GitLab released versions 19.2.4, 19.1.6, 19.0.8, and 18.11.11 to patch this issue and a second high-risk cross-site request forgeryA web attack where a page tricks your browser into sending an unwanted request to another site flaw. Users who can immediately deploy the patches are advised to make their repositories private and to block unauthenticated access to the /api/graphql endpointAny user device or server, such as a laptop, phone, or workstation, connected to a network.
Terms in this story
- 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
- 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
- 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
- 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.
- exploit
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- HTTP request
- A message a browser or app sends to a web server to fetch or submit data. Every link click, form submission, and API call travels as an HTTP request, and web attacks work by packing malicious headers or parameters inside that request.
- 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.
- software supply chain
- All the open-source libraries, build tools, code repositories, and update servers that go into making a program. Protecting the software supply chain means making sure no attacker has tampered with the third-party packages, build pipelines, or signing keys used to ship an application.
- supply chain attacks
- Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
- maintainers
- The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.
- cross-site request forgery
- A web attack where a page tricks your browser into sending an unwanted request to another site. If a banking or account settings page lacks protective tokens, a cross-site request forgery attack on a separate tab can silently submit a password change using your active session cookie.
- endpoint
- Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
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 CSO Online website. Cite the article, not this page.
Read the full article on CSO Online (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
"GitLab has fixed a critical vulnerability..." Found by reading the article; these exact words are in it - Who is affected: "...users can self-host it on their own servers..." Organizations using the product
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"Critical GitLab flaw allows attackers to delete and modify public..." Found in the headline - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"......them with a single HTTP request. The patched releases also address a second high-risk cross-site..." Found in the opening sentences - Security+ 4.3 Explain various activities associated with vulnerability management.
"GitLab has fixed a critical vulnerability that could allow unauthenticated attackers to perform..." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"......to completely delete them with a single HTTP request. The patched releases also address a..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"GitLab has fixed a critical vulnerability that could allow unauthenticated attackers to perform..." Found in the opening sentences - CYBR 101 week 3: cyber hygiene, privacy, OSINT and social engineering
"......them with a single HTTP request. The patched releases also address a second high-risk cross-site..." Found in the opening sentences
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Critical GitLab Code Injection Vulnerability Actively Exploited in Attacks
- GitLab Warns of Active Exploitation of Critical GraphQL Flaw
- GitLab CVE-2026-19478 Comes Under Active Exploitation Within Days of Disclosure
- GitLab issues emergency patch for critical code-injection flaw
- Critical GitLab flaw allows attackers to modify or delete public projects (CVE-2026-19478)
- GitLab Patches Critical Unauthenticated GraphQL Vulnerability
- Critical GitLab GraphQL Vulnerability CVE-2026-19478: Patch Now to Prevent Unauthenticated Project Modification
- Critical GitLab GraphQL Vulnerability Allow Attackers to Delete Public Projects
- Critical GitLab GraphQL Flaw Could Let Unauthenticated Attackers Delete Public Projects
- GitLab 19.2.2 Patches 13 Security Flaws, Including High-Severity XSS and CI/CD Authorization Flaws