Cybersecurity news

Jessica Doner

Back to the list

SGLang RCE Exploit Breaches NEAR AI, Steals Data From 18 Agents and About 100 Users

The Hacker News,

A hacker used a software flaw to run code on a server, stealing data from agents and users, including those using confidential mode.

Vulnerabilities and patchesAI and securityAttacks and breaches

Overview

An attacker used a remote code executionA flaw that lets an attacker run their own code on someone else's computer over a network flaw in SGLang to run code on a NEAR AI inferenceRunning a trained artificial intelligence model on new input to generate an answer or prediction server. This allowed the attacker to view confidential requests processed inside a trusted execution environmentA hardware-isolated area inside a processor that shields sensitive code and keys from the rest of the system. The trusted execution environment does not protect against vulnerabilitiesA flaw in software or hardware that lets an attacker do something the maker did not intend in the software running inside it. The attacker then moved into internal systems and downloaded account details for about 100 users. They also accessed 18 AI agentsArtificial intelligence software that can plan steps, call tools, and take actions on its own and took data including chat history, settings and logsTimestamped records that servers and apps write whenever someone signs in, changes a setting, or makes a request. Two customers' NEAR AI Cloud API keysA secret string a program sends with an API request to identify itself and get access were exposed in logs and have been revoked.

Terms in this story

remote code execution
A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
code execution
A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
inference
Running a trained artificial intelligence model on new input to generate an answer or prediction. Training builds the AI model once, while inference happens every time a user sends a prompt to a chatbot, which is where prompt injection and data leaks occur.
trusted execution environment
A hardware-isolated area inside a processor that shields sensitive code and keys from the rest of the system. Many phones and confidential cloud servers run key checks inside a Trusted Execution Environment so even an attacker who gains root access on the operating system cannot read the secrets.
AI agents
Artificial intelligence software that can plan steps, call tools, and take actions on its own. Many stories cover agentic AI when companies connect language models to email, browsers, and databases, creating new risks if a hidden prompt tricks the agent into leaking data.
logs
Timestamped records that servers and apps write whenever someone signs in, changes a setting, or makes a request. During an investigation, responders examine security logs to trace when an attacker first logged in and which internal machines they accessed. Security+ objective 4.4 lists the term
API keys
A secret string a program sends with an API request to identify itself and get access. Software teams sometimes accidentally upload an API key to a public code repository, allowing attackers who scan for leaked keys to rack up cloud bills or read private databases. Security+ objective 4.6 lists the term
exploited
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
open-source
Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
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
sessions
An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.

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 The Hacker News website. Cite the article, not this page.

Read the full article on The Hacker News (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.

How a story is connected to the course, and every objective, week and job role

Related