My agent cli is at the following version, which seems to be the most recent one:
$ agent --version
2026.02.13-41ac335
$ agent update
Checking for updates...
Already up to date
while the Changelog · Cursor has the newest CLI update with date 2026.02.18.
How can I get the newest CLI version?
I came across this because sandboxing fails in my CLI with the following message:
Sandbox requires kernel v6.2 or later and may require additional AppArmor policies to be set. Falling back to allowlist mode for this session.
Based on cursors investigation the reason why it’s not working is:
The CLI has the sandboxing code fully implemented and functional – the binary works, Landlock enforces properly, the preflight passes – but it’s gated behind a Statsig feature flag rollout (composer_sandbox_settings_visible) that is currently false for your account.
For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)
For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
Yes - Cursor is unusable
Sometimes - I can sometimes use Cursor
No - Cursor works, but with this issue
The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!
Any chance you’re running the agent CLI inside a Linux container (e.g., Docker) or on a remote Linux machine via SSH? The error message you’re seeing, “Sandbox requires kernel v6.2 or later” , is specific to Linux and can’t be produced on native macOS. On macOS, the message would be “Sandbox is unavailable” instead.
Could you run agent about and share the output? That’ll tell us exactly what environment the CLI is seeing.
By the way, you’re using the latest version of the CLI – the changelog just sometimes lags behind a few days!
$ agent about
About Cursor CLI
CLI Version 2026.02.13-41ac335
Model Claude 4.6 Opus (Thinking)
OS linux (x64)
Terminal unknown
Shell bash
Regarding:
By the way, you’re using the latest version of the CLI – the changelog just sometimes lags behind a few days!
My point was it actually seems like it’s the opposite - that the CLI release seems to lag behind the changelog. Because it seems like the CLI is from 2026.02.13 and latest changelog is from 2026.02.18.
Sorry for the late follow-up here. I dug into this because in fact, on my local Ubuntu install, I was also getting denied the sandbox.
You can get detailed debug information by running the CLI with --debug:
agent --debug
This starts a local log server at http://127.0.0.1:43111 that shows exactly why sandbox setup fails. For example, on my Ubuntu 24.04 machine I saw this in the debug logs:
Since you’re on Rocky Linux 9.7, your root cause may differ, but agent --debug will show you the exact preflight failure. Could you share what you see in the debug logs?
Afaik nothing was done to the server I was experimenting with the sandboxing on and today (after some time off) I:
Tried booting up the agent CLI again - still saw the warning message about unsupported system
Headed back to this thread and saw your reply
Exited agent, started it again with --debug and got no warning message this time
…aand the sandboxing works ever since.
I know an agent cli update was released in the meantime. But if I recall correctly I tried it before my vacation and it didn’t work either.
$ agent about
About Cursor CLI
CLI Version 2026.02.27-e7d2ef6
Model Claude 4.6 Opus
OS linux (x64)
Terminal unknown
Shell bash
$ uname -r
5.14.0-570.58.1.el9_6.x86_64
From my point of view it seems like simply the sandboxing feature was enabled for my account in the meantime (we are on an Enterprise licence). I’m basing this guess on:
the fact that I had to re-launch the agent cli today for it to start working
the Cursor analysis of the CLI code I posted in the first post:
Today, after weekend, the error appeared again - for the 1st CLI startup.
For any following run the error was gone. Will try to catch it with agent --debug next time (perhaps next Monday? )