Vai al contenuto principale

#gitlab

GitLab Patches Maximum-Severity RCE Flaw as Exploit Code Goes Public

Read Time:3 Minute, 17 Second

A public proof-of-concept exploit is now circulating for a maximum-severity GitLab vulner

Altro...

Read Time:3 Minute, 17 Second

A public proof-of-concept exploit is now circulating for a maximum-severity GitLab vulnerability, giving organizations running self-managed instances a hard deadline to patch. The flaw, tracked as CVE-2026-97229, carries a CVSS score of 10.0 and allows an attacker to execute commands on a vulnerable GitLab server through a bug in its CI/CD regular-expression compiler.

How the Exploit Chain WorksResearcher Jonah Burgess published the working exploit code, which targets both GitLab Community Edition and Enterprise Edition. GitLab’s own advisory describes the underlying issue as an integer overflow in the CI/CD regular-expression compiler — the component responsible for validating pipeline configuration syntax.

The attack path runs through GitLab’s CI lint endpoint, a feature meant to check CI/CD configuration files for errors before they run. According to the published analysis, an attacker crafts a pipeline configuration containing a regular expression paired with a specially named repository path that includes Unicode characters. That combination causes Ruby to recompile the expression after GitLab’s own size validation has already passed, triggering an integer overflow that redirects the regex engine’s execution into a command-execution function.

Critically, the access bar for triggering this chain is lower than many critical vulnerabilities require. The attacker only needs permission to push a branch to a public project on the target instance — something that’s often trivially available on self-hosted or loosely configured GitLab deployments. From there, a follow-up request to the CI lint endpoint requires no authentication token, session cookie, or other authorization header at all.

What Successful Exploitation Looks LikeBurgess notes that commands triggered through the bug execute under GitLab’s internal git service account rather than as a system administrator — a meaningful limitation, but still enough to give an attacker a foothold for lateral movement, source code access, or further privilege escalation depending on the server’s configuration.

Detecting a successful attempt isn’t entirely straightforward either. The test request typically ends in an HTTP 502 error as the worker process crashes after the injected command runs, which on its own doesn’t confirm exploitation occurred. In Burgess’s testing, confirmation came through command output returned via an external callback channel. The exploit also demands significant server memory to work reliably; under low-memory conditions or concurrent requests, it’s more likely to cause a denial-of-service crash than clean code execution. The published PoC is calibrated specifically against the official GitLab CE 19.4.1 Linux amd64 image, so results may vary against other builds.

Which Versions Need PatchingGitLab’s advisory lists the affected ranges precisely:

19.2 before 19.2.8

19.3 before 19.3.5

19.4 before 19.4.2

Fixed versions were released on October 12, 2026. GitLab.com is already running a patched build, and GitLab Dedicated customers don’t need to take any action. The risk falls squarely on self-managed instances that haven’t yet applied the update.

Recommended ActionsWith exploit code already public, GitLab administrators running self-managed instances should move quickly:

Confirm your installed version against the affected ranges above and upgrade immediately to 19.2.8, 19.3.5, 19.4.2, or later.

Review recent CI/CD configuration changes across projects, paying particular attention to new or modified regular expressions and unusual branch names containing non-standard characters.

Audit who has permission to push branches to public projects, since that’s the only access requirement for the first stage of the attack.

Watch for unexplained 502 errors tied to CI lint requests, which could indicate exploitation attempts in progress.

There’s no confirmed evidence yet that CVE-2026-97229 is being exploited in real-world intrusions. But a maximum CVSS score combined with public, working exploit code and a low bar for initial access is exactly the combination that tends to draw opportunistic attackers quickly. For any organization running GitLab’s CI/CD pipelines in production, this patch shouldn’t wait for the next scheduled maintenance window.

#gitlab #rce #vulnerability

0

Caricamento...

0
0

Caricamento...

GitLab Patches CVSS 10 Flaw Allowing Unauthenticated Server Code Execution

Read Time:3 Minute, 24 Second

GitLab has released security updates for a maximum-severity vulnerability that could let

Altro...

Read Time:3 Minute, 24 Second

GitLab has released security updates for a maximum-severity vulnerability that could let a remote attacker execute code on a self-managed server without first signing in. CVE-2026-97229 carries a CVSS score of 10.0 and affects both GitLab Community Edition and Enterprise Edition, placing the issue at the top of the patch queue for organizations that run their own development infrastructure.

The company published corrected versions on October 12, 2026. GitLab.com already uses patched software, and GitLab Dedicated customers do not need to perform the upgrade themselves. The urgent action applies to self-managed instances in the affected branches.

A CI/CD expression reaches the serverThe vulnerability is an integer overflow in GitLab’s regular-expression compiler for continuous integration and delivery workflows. Regular expressions are patterns used to identify or transform text, and they are common in pipeline rules. According to the advisory, insufficient validation could allow a specially constructed expression in CI/CD configuration to trigger arbitrary code execution.

The public description says exploitation is possible under certain conditions but does not disclose a complete recipe. Even with those details withheld, the severity vector is stark: the attack is reachable over a network, has low complexity, needs neither privileges nor user interaction, and can have a high impact on confidentiality, integrity and availability.

This is not a browser-only script injection that disappears when a tab closes. The potential execution occurs on the GitLab server, where repositories, build metadata, secrets and automation converge. GitLab credited researcher joaxcar, who reported the problem through the company’s HackerOne program.

Why a GitLab takeover can spreadA compromised source-code platform offers more than access to individual repositories. Attackers may seek CI/CD variables, deploy keys, package registries, runner credentials and service tokens. If those secrets grant access to cloud accounts or production environments, a single server flaw can become the first stage of a broader software supply-chain incident.

An intruder with server-level execution could also modify code, tamper with build artifacts, interrupt pipelines or erase evidence. Even organizations that mirror repositories elsewhere would need to examine whether trusted releases or container images were produced during the period of suspected access.

Affected versions and fixed releasesGitLab identifies three affected release lines. Administrators should update according to the branch they currently operate:

GitLab 19.2 installations earlier than 19.2.8 should move to 19.2.8 or a later supported release.

GitLab 19.3 installations earlier than 19.3.4 should move to 19.3.4 or later.

GitLab 19.4 installations earlier than 19.4.2 should move to 19.4.2 or later.

Version 19.3.4 has a known issue affecting merge-request pages when the Ona integration is enabled, with a correction expected in 19.3.5. Teams using that integration should plan around the compatibility problem, but it should not become a reason to leave the critical code-execution vulnerability open.

The same security release addresses additional weaknesses, including authorization problems, cross-site scripting and an issue associated with the GitLab Duo Agent Platform. Reviewing the complete release notice is important because an upgrade can close several independent attack paths at once.

Defensive priorities after upgradingAdministrators should first inventory every internet-facing and internal self-managed instance, including forgotten test servers and disaster-recovery nodes. After upgrading, teams should review application, audit, runner and reverse-proxy logs for unusual pipeline submissions, malformed expressions, unexpected project creation, new access tokens and unexplained child processes.

Secrets stored in CI/CD variables deserve special attention if exploitation is suspected. Incident responders should determine which credentials were accessible, revoke them in the systems where they are honored and then replace them in GitLab. Merely changing the value in the project does not invalidate a token at its destination.

GitLab has not said that CVE-2026-97229 is being exploited in real-world attacks. However, the absence of confirmed exploitation is not a safe maintenance window for a network-accessible, unauthenticated CVSS 10 flaw. Fast patching, targeted log review and credential hygiene are the proportionate response.

#remotecodeexecution #gitlab #cicdsecurity #cve202697229

0

Caricamento...

0
0

Caricamento...

GitLab AI Gateway Sandbox Escape Opens Door to Remote Command Execution

Read Time:3 Minute, 23 Second

GitLab has issued urgent fixes for a near-maximum-severity weakness in its self-hosted AI

Altro...

Read Time:3 Minute, 23 Second

GitLab has issued urgent fixes for a near-maximum-severity weakness in its self-hosted AI Gateway, warning that a user with limited but valid access could cross a template-processing boundary and run commands on the underlying service. The vulnerability, tracked as CVE-2026-90970, has a CVSS score of 9.9 and affects infrastructure supporting GitLab Duo AI features.

The issue is especially important for organizations that operate the gateway inside their own environment. Although exploitation requires an authenticated account with access to the Duo Agent Platform, the attack itself is network-accessible, needs no victim interaction and is considered low complexity. A successful compromise could affect the confidentiality, integrity and availability of the gateway and the systems or model backends it can reach.

How the sandbox escape worksThe flaw lies in the handling of custom flow prompt templates. Those templates are supposed to be processed inside a restricted sandbox so that user-controlled instructions cannot become operating-system commands. GitLab says a specially constructed flow configuration can escape that boundary, allowing arbitrary commands to execute on the AI Gateway.

This distinction matters. The risk is not merely that an attacker might manipulate an AI response or influence a model prompt. The vulnerable processing path can reach the service host itself. From there, the practical impact would depend on the gateway’s privileges, accessible secrets, network routes and connections to model services or other internal resources.

GitLab has not disclosed a working exploit, named the underlying template engine or reported attacks in the wild. The company credited researcher invisiblemeerkat with responsibly reporting the problem. Those details lower the immediate evidence of active abuse, but they do not reduce the urgency of a flaw that can convert a relatively constrained application role into command execution.

Affected versions and available fixesAffected AI Gateway versions begin with 18.1.6 and extend through releases earlier than 19.2.4. The 19.3 branch is vulnerable before 19.3.2, while the 19.4 branch is affected before 19.4.1. GitLab released AI Gateway 19.2.4, 19.3.2 and 19.4.1 to close the issue.

Administrators should check the deployed gateway component rather than assume the main GitLab instance version tells the full story. Customers using GitLab.com, GitLab Dedicated, or self-managed GitLab connected to a GitLab-hosted AI Gateway are already protected because GitLab updated its hosted infrastructure. The required action falls on customers running their own affected gateway.

Why self-hosted AI infrastructure needs attentionSelf-hosting gives enterprises greater control over AI requests and model backends, but it also places patching, image management and network isolation in the customer’s hands. AI orchestration services frequently sit between developer identities, source-code context, internal tools and external models. That position can make a compromised gateway a valuable pivot point even when the initial attacker account is not highly privileged.

Security teams should treat access to Duo Agent Platform features as meaningful application privilege. Review who holds that access, remove stale accounts and inspect authentication and gateway logs for unusual flow creation, template errors or command-like content. Any unexplained child processes or outbound connections from the gateway should receive prompt investigation.

Recommended responseUpgrade immediately to AI Gateway 19.2.4, 19.3.2, 19.4.1 or a later supported release.

For container deployments, verify the new image digest instead of relying only on a mutable tag.

For Kubernetes or Helm installations, ensure image caching and pull policies do not leave old code running.

Restrict unnecessary outbound traffic while preserving documented gateway dependencies.

Review Duo Agent Platform permissions and investigate suspicious template activity.

After upgrading, operators should run health checks and confirm that every replica uses the patched image. Network controls and least privilege can reduce exposure, but neither substitutes for replacing the vulnerable component. Given the severity and the gateway’s position in AI-enabled development workflows, patch validation should be handled as part of the incident-response process rather than routine maintenance.

Source: Cyber Security News, reporting on GitLab’s security release.

#remotecodeexecution #aisecurity #cve202690970 #gitlab

0

Caricamento...

0
0

Caricamento...

Inizia il mese del Linux Day! 🐧🎃

Italian Linux Society cresce con le tue competenze e passioni! Abbiamo catalogato cose da fare per tutti i gusti, de

Altro...

Inizia il mese del Linux Day! 🐧🎃

Italian Linux Society cresce con le tue competenze e passioni! Abbiamo catalogato cose da fare per tutti i gusti, dev, doc, grafica, ...
👉 https://ils.org/todo-gitlab/

Scegli da dove iniziare e aiuta la community a preparare il Linux Day e oltre! :tux:

@linux@diggita.com

#opensource #linux #softwarelibero #linuxday #linuxday2026 #gitlab #italianlinuxsociety

24

Caricamento...

0
18

Caricamento...