# Regression - cpu spikes to 100% and agent hangs

**URL:** <https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585>\
**Category:** Bug Reports\
**Tags:** cli, performance, linux\
**Created:** [April 14, 2026, 4:45am UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585 "2026-04-14T04:45:54Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdtl22](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@cdtl22](https://forum.cursor.com/u/cdtl22)\
**Post date:** [April 14, 2026, 4:45am UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/1 "2026-04-14T04:45:54Z")

</div>

### Where does the bug appear (feature/product)?

Cursor CLI

### Describe the Bug

cpu spikes to from 6% to 100% using a simple prompt despite no other changes to environment (must be due to latest version - wasnt an issue before on 2026.03.20-7da3412)

### Steps to Reproduce

```auto
agent --version                                            
2026.04.13-a9d7fb5

agent --model "auto" --stream-partial-output --output-format stream-json --print "hello there"                                              
{"type":"system","subtype":"init","apiKeySource":"env","cwd":"/","session_id":"1e
b13ef1-5811-48cf-aa9c-6ed8310729b4","model":"Auto","permissionMode":"default"}   
{"type":"user","message":{"role":"user","content":[{"type":"text","text":"hello t
here"}]},"session_id":"1eb13ef1-5811-48cf-aa9c-6ed8310729b4"}                    
^C                                                                               
Aborting operation...

```

### Expected Behavior

cpu should not be at 100% and agent should not hang

### Operating System

Linux

### Version Information

2026.04.13-a9d7fb5

### For AI issues: which model did you use?

Auto

### For AI issues: add Request ID with privacy disabled

n/a

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![cdtl22](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@cdtl22](https://forum.cursor.com/u/cdtl22)\
**Post date:** [April 14, 2026, 4:58am UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/5 "2026-04-14T04:58:26Z")

</div>

these regressions seems to come out when a new version is released. can we please test for breaking changes before rolling things out - seems to be occurring more frequently now

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [April 14, 2026, 5:30am UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/7 "2026-04-14T05:30:36Z")

</div>

Hey, thanks for the report. This is a known CLI issue that shows up from time to time after updates. I’ve shared it with the team, including the regression details between `2026.03.20-7da3412` which works and `2026.04.13-a9d7fb5` which is broken. There’s no ETA for a fix yet, but your report will help with prioritization.

As a workaround, you can roll back to the previous working CLI version:

```sh
ln -sf ~/.local/share/cursor-agent/versions/2026.03.20-7da3412/cursor-agent ~/.local/bin/cursor-agent

```

The path may differ depending on how you installed it, so check `which cursor-agent` and `ls ~/.local/share/cursor-agent/versions/`.

Let me know if the rollback helped.

---

<div class="post-metadata">

**Author:** ![Wilbur\_Pollinador](https://avatars.discourse-cdn.com/v4/letter/w/53a042/32.png) [@Wilbur\_Pollinador](https://forum.cursor.com/u/Wilbur_Pollinador)\
**Post date:** [April 14, 2026, 1:03pm UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/10 "2026-04-14T13:03:54Z")

</div>

### Where does the bug appear (feature/product)?

Cursor CLI

### Describe the Bug

New version of cursor CLI (version 2026.04.13-a9d7fb5) becoming unresponsive running 100% cpu .  
As soon as the CLI starts it launches multiple threads running index.js, all hitting 100% cpu. CLI is slow and agent is unable to answer simple questions.

### Steps to Reproduce

Run a Podman (Docker) container with bind mount for .cursor directory.

```auto
#
# Run a Docker (Podman) container with bind mount for .cursor directory.
podman run \
    --rm \
    --tty \
    --interactive \
    ...
    --volume "${HOME}/.cursor:/root/.cursor:rw,Z" \
    ...
    ghcr.io/ivoa/calycopis/developer-tools:2026.04.12 \
        bash

```

```auto
#
# Download and run Cursor CLI inside the container.
curl https://cursor.com/install -fsS | bash

agent

```

### Expected Behavior

Normal behaviour is Cursor CLI ready to respond to commands.  
Been running Cursor CLI in Podman containers for couple of months, not had any problems until today.

### Operating System

Linux

### Version Information

CLI Version 2026.04.13-a9d7fb5  
Model Opus 4.6 1M Thinking  
Subscription Tier Pro+  
OS linux (x64)

### Additional Information

Cursor CLI is run inside a Podman container which is triggering SELinux alerts on the host system. “SELinux is preventing bwrap from mounton access on the directory /newroot/proc”.  
We have been running Cursor CLI in containers for couple of months and haven’t seen these before, so might be related.

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![Wilbur\_Pollinador](https://avatars.discourse-cdn.com/v4/letter/w/53a042/32.png) [@Wilbur\_Pollinador](https://forum.cursor.com/u/Wilbur_Pollinador)\
**Post date:** [April 14, 2026, 1:32pm UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/13 "2026-04-14T13:32:59Z")

</div>

I’m running CLI in a new Docker container each time, so I don’t have previous versions in ~/.local.

Is there a way to download and run a specific version using the curl command ?

---

<div class="post-metadata">

**Author:** ![cdtl22](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@cdtl22](https://forum.cursor.com/u/cdtl22)\
**Post date:** [April 14, 2026, 3:01pm UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/14 "2026-04-14T15:01:24Z")

</div>

I would also like to know because I’m also running in docker and dont have access to prior versions

---

<div class="post-metadata">

**Author:** ![cdtl22](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@cdtl22](https://forum.cursor.com/u/cdtl22)\
**Post date:** [April 14, 2026, 3:05pm UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/15 "2026-04-14T15:05:28Z")

</div>

im not able to rollback to prior version because i’m using docker and it’s a brand new instance each time. is there a way to download a specific version? this completely blocks all workflows

---

<div class="post-metadata">

**Author:** ![Wilbur\_Pollinador](https://avatars.discourse-cdn.com/v4/letter/w/53a042/32.png) [@Wilbur\_Pollinador](https://forum.cursor.com/u/Wilbur_Pollinador)\
**Post date:** [April 14, 2026, 3:11pm UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/16 "2026-04-14T15:11:30Z")

</div>

Note to people experimenting with this - backup your `~/.cursor` directory first.  
I tried running an older version, 2026.03.20, by editing the download script before running it, and it worked, but the older version can’t read my session history.  
Best to be safe - backup your `~/.cursor` directory before experimenting.

---

<div class="post-metadata">

**Author:** ![cdtl22](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@cdtl22](https://forum.cursor.com/u/cdtl22)\
**Post date:** [April 14, 2026, 3:18pm UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/17 "2026-04-14T15:18:09Z")

</div>

hi wilbur, did you download this older version or is there a way to access this via their download cursor script for a specific version?

---

<div class="post-metadata">

**Author:** ![Wilbur\_Pollinador](https://avatars.discourse-cdn.com/v4/letter/w/53a042/32.png) [@Wilbur\_Pollinador](https://forum.cursor.com/u/Wilbur_Pollinador)\
**Post date:** [April 14, 2026, 3:30pm UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/18 "2026-04-14T15:30:04Z")

</div>

For what it is worth here is what I’ve tried. It installed the older version, but it couldn’t access my session history so it wasn’t that useful. Need to know the version number and hash code for the version you want.

```auto
#
# Download the Cursor install script.
curl https://cursor.com/install -o ~/install-cursor.sh

#
# Check what version this is installing
sed -n '
    /versions/ p
    ' ~/install-cursor.sh

> TEMP_EXTRACT_DIR="$HOME/.local/share/cursor-agent/versions/.tmp-2026.04.13-a9d7fb5-$(date +%s)"
> DOWNLOAD_URL="https://downloads.cursor.com/lab/2026.04.13-a9d7fb5/${OS}/${ARCH}/agent-cli-package.tar.gz"
> FINAL_DIR="$HOME/.local/share/cursor-agent/versions/2026.04.13-a9d7fb5"
> ln -s ~/.local/share/cursor-agent/versions/2026.04.13-a9d7fb5/cursor-agent ~/.local/bin/agent
> ln -s ~/.local/share/cursor-agent/versions/2026.04.13-a9d7fb5/cursor-agent ~/.local/bin/cursor-agent

#
# Replace the version number.
sed -i '
    s/2026\.04\.13-a9d7fb5/2026.03.20-7da3412/
    ' ~/install-cursor.sh

sed -n '
    /7da3412/ p
    ' ~/install-cursor.sh

> TEMP_EXTRACT_DIR="$HOME/.local/share/cursor-agent/versions/.tmp-2026.03.20-7da3412-$(date +%s)"
> DOWNLOAD_URL="https://downloads.cursor.com/lab/2026.03.20-7da3412/${OS}/${ARCH}/agent-cli-package.tar.gz"
> FINAL_DIR="$HOME/.local/share/cursor-agent/versions/2026.03.20-7da3412"
> ln -s ~/.local/share/cursor-agent/versions/2026.03.20-7da3412/cursor-agent ~/.local/bin/agent
> ln -s ~/.local/share/cursor-agent/versions/2026.03.20-7da3412/cursor-agent ~/.local/bin/cursor-agent

#
# Run the install script.
source ~/install-cursor.sh

agent about

> About Cursor CLI
>   
> CLI Version 2026.03.20-7da3412
> Model Opus 4.6 1M Thinking
> OS linux (x64)
> Terminal unknown
> Shell unknown
> User Email Not logged in

```

---

<div class="post-metadata">

**Author:** ![Wilbur\_Pollinador](https://avatars.discourse-cdn.com/v4/letter/w/53a042/32.png) [@Wilbur\_Pollinador](https://forum.cursor.com/u/Wilbur_Pollinador)\
**Post date:** [April 14, 2026, 3:33pm UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/20 "2026-04-14T15:33:08Z")

</div>

Suggestion to the Cursor team - please leave the entries for a couple of previous versions commented out in the install script to make it easier for users to roll back when a problem occurs.

---

<div class="post-metadata">

**Author:** ![Wilbur\_Pollinador](https://avatars.discourse-cdn.com/v4/letter/w/53a042/32.png) [@Wilbur\_Pollinador](https://forum.cursor.com/u/Wilbur_Pollinador)\
**Post date:** [April 14, 2026, 3:37pm UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/21 "2026-04-14T15:37:58Z")

</div>

This would be useful

> [@Previous versions download links](https://forum.cursor.com/t/previous-versions-download-links/14836):
>
> To Anysphere Team Could we have a dedicated page set up with links to the last 10 versions of the software for people to download and test? It appears that the latest version has multiple issues with the composer, making it less useful than previous versions, and the necessary fixes may take some time. Additionally, could you please provide instructions on how to disable auto-updates? Thank you for your attention to these matters.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [August 27, 2026, 8:24am UTC](https://forum.cursor.com/t/regression-cpu-spikes-to-100-and-agent-hangs/157585/25 "2026-08-27T08:24:10Z")

</div>

Hey @cdtl22, @Wilbur_Pollinador. Over the last few months we’ve shipped a bunch of CLI performance improvements, especially around startup CPU usage and hangs during indexing, including cases with `.git` and containers. The current stable CLI release is `2026.08.11-e8db854`, which is several versions newer than the one you reported on.

Please try the latest version:

```sh
curl https://cursor.com/install -fsS | bash
agent about

```

If CPU still spikes to 100% or the agent still hangs on the current version, please start a new thread with fresh details like the version from `agent about`, your OS, your exact container setup, and steps to reproduce so we can take a clean look. I’m going to close this thread for now.
