Close Menu
    Facebook X (Twitter) Instagram
    Wifi PortalWifi Portal
    • Blogging
    • SEO & Digital Marketing
    • WiFi / Internet & Networking
    • Cybersecurity
    • Tech Tools & Mobile / Apps
    • Privacy & Online Earning
    Facebook X (Twitter) Instagram
    Wifi PortalWifi Portal
    Home»Cybersecurity»Cursor AI Vulnerability Exposed Developer Devices
    Cybersecurity

    Cursor AI Vulnerability Exposed Developer Devices

    adminBy adminApril 17, 2026No Comments3 Mins Read
    Facebook Twitter LinkedIn Telegram Pinterest Tumblr Reddit WhatsApp Email
    Vulnerability
    Share
    Facebook Twitter LinkedIn Pinterest Email

    A vulnerability chain in Cursor AI could have allowed attackers to hijack developer machines via prompts hidden in malicious repositories, Straiker discovered.

    Dubbed NomShub, the attack chain exploits an indirect prompt injection in coding agents and a command sandbox bypass to write code to the user’s machine and abuse Cursor’s remote tunnel feature to gain shell access.

    According to Straiker, mounting an attack does not require any user interaction beyond opening a malicious repository in Cursor.

    Furthermore, because the exploited feature is a legitimate binary signed and notarized, an attacker can exploit Cursor to gain full file system access and command execution capabilities on macOS systems, where the coding editor runs without sandbox restrictions.

    Detecting the attack at the network level, Straiker says, is nearly impossible, as all the traffic goes through Microsoft Azure infrastructure.

    The issue, the cybersecurity firm explains, was that Cursor’s protections against agent-executed shell commands did not cover those executed within the shell (shell builtins), leaving the parser blind to working directory changes, manipulated environment variables, and altered shell execution context.

    Advertisement. Scroll to continue reading.

    Because the macOS seatbelt sandbox allows writes to the home directory, builtins could be used to escape the sandbox and overwrite the .zshenv file, which is executed by every new Zsh shell instance, including Terminal windows, application-spawned shells, invoking scripts, and the Cursor terminal.

    An attacker could inject prompts in a repository’s README.md file and trick the user into opening the repository in Cursor. When the AI reads the README, it follows the injected instructions, executes the sandbox escape, and runs a tunnel exploitation script.

    To abuse Cursor’s built-in tunnel and gain remote access to the victim’s system, the attacker also instructs the agent to generate a device code and send it to the attacker’s server. The code is necessary to authorize an authenticated GitHub session through the tunnel.

    “The attacker’s GitHub account is now authorized to access the victim’s tunnel. Combined with the tunnel registration data (tunnel ID, cluster), the attacker can connect at any time,” Straiker says.

    As long as the process remains running, the GitHub authorization is not revoked, and the tunnel registration is not deleted, the attacker has persistent access to the machine.

    Straiker discovered the attack chain in January and reported it to Cursor in early February. A fix was included in Cursor 3.0.

    Related: By Design’ Flaw in MCP Could Enable Widespread AI Supply Chain Attacks

    Related: Can We Trust AI? No – But Eventually We Must

    Related: Google DeepMind Researchers Map Web Attacks Against AI Agents

    Related: Why Agentic AI Systems Need Better Governance – Lessons from OpenClaw

    cursor developer Devices Exposed vulnerability
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email
    Previous ArticleTux Manager is the perfect Linux Task Manager replacement for Windows refugees
    Next Article Why your website is now the source of truth in local AI search
    admin
    • Website

    Related Posts

    GitLab 18.11 brings agentic AI to security fixes, CI pipelines, and delivery analytics

    April 17, 2026

    Some Windows servers enter reboot loops after April patches

    April 17, 2026

    Apache ActiveMQ CVE-2026-34197 Added to CISA KEV Amid Active Exploitation

    April 17, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Search Blog
    About
    About

    At WifiPortal.tech, we share simple, easy-to-follow guides on cybersecurity, online privacy, and digital opportunities. Our goal is to help everyday users browse safely, protect personal data, and explore smart ways to earn online. Whether you’re new to the digital world or looking to strengthen your online knowledge, our content is here to keep you informed and secure.

    Trending Blogs

    AI Agents Are Here And Your Website Isn’t Ready, Says No Hacks Podcast Host

    April 17, 2026

    Wavelet: headphone equalizer 26.04 APK Download by pittvandewitt

    April 17, 2026

    GitLab 18.11 brings agentic AI to security fixes, CI pipelines, and delivery analytics

    April 17, 2026

    OnePlus’ Europe exit isn’t official yet, but the signs aren’t great

    April 17, 2026
    Categories
    • Blogging (63)
    • Cybersecurity (1,361)
    • Privacy & Online Earning (170)
    • SEO & Digital Marketing (836)
    • Tech Tools & Mobile / Apps (1,627)
    • WiFi / Internet & Networking (227)

    Subscribe to Updates

    Stay updated with the latest tips on cybersecurity, online privacy, and digital opportunities straight to your inbox.

    WifiPortal.tech is a blogging platform focused on cybersecurity, online privacy, and digital opportunities. We share easy-to-follow guides, tips, and resources to help you stay safe online and explore new ways of working in the digital world.

    Our Picks

    AI Agents Are Here And Your Website Isn’t Ready, Says No Hacks Podcast Host

    April 17, 2026

    Wavelet: headphone equalizer 26.04 APK Download by pittvandewitt

    April 17, 2026

    GitLab 18.11 brings agentic AI to security fixes, CI pipelines, and delivery analytics

    April 17, 2026
    Most Popular
    • AI Agents Are Here And Your Website Isn’t Ready, Says No Hacks Podcast Host
    • Wavelet: headphone equalizer 26.04 APK Download by pittvandewitt
    • GitLab 18.11 brings agentic AI to security fixes, CI pipelines, and delivery analytics
    • OnePlus’ Europe exit isn’t official yet, but the signs aren’t great
    • Some Windows servers enter reboot loops after April patches
    • Why your website is now the source of truth in local AI search
    • Cursor AI Vulnerability Exposed Developer Devices
    • Tux Manager is the perfect Linux Task Manager replacement for Windows refugees
    © 2026 WifiPortal.tech. Designed by WifiPortal.tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms and Conditions
    • Disclaimer

    Type above and press Enter to search. Press Esc to cancel.