Elastic Agent known issues
Stack
Known issues are significant defects or limitations that may impact your implementation. These issues are actively being worked on and will be addressed in a future release. Review the Elastic Agent known issues to help you make informed decisions, such as upgrading to a new version.
Failed upgrades leave Elastic Agent stuck until restart
Applies to: Elastic Agent 8.18.7, 9.0.7
On September 17, 2025, a known issue was discovered that can cause Elastic Agent upgrades to get stuck if an upgrade attempt fails under specific conditions. This happens because the coordinator’s overrideState
remains set, leaving the agent in a state that appears to be upgrading.
Conditions
This issue is triggered if the upgrade fails during one of the early checks inside Coordinator.Upgrade
, for example:
- The agent is not upgradeable
- Capabilities check denies the upgrade
- When Elastic Agent is tamper-protected, Endpoint must validate that the upgrade action was correctly signed by Kibana to allow the upgrade. If the signature is missing, invalid, or the connection between Elastic Agent and Endpoint was interrupted, the validation fails. This causes the agent coordinator's override state to become stuck until the agent is restarted.
Symptoms
- Fleet shows the upgrade action in progress, even though the upgrade remains stuck
- No further upgrade attempts succeed
- Elastic Agent status shows an override state indicating upgrade
Workaround
Restart the Elastic Agent to clear the coordinator’s overrideState
and allow new upgrade attempts to proceed.
Resolution This issue was fixed in #9992, which ensures that the coordinator clears its override state whenever an early failure occurs.
The fix is included in versions 9.1.4 and 8.19.4, and planned for versions 9.0.8 and 8.18.8.
[Windows] Elastic Agent does not process Windows security events
Applies to: Elastic Agent 8.19.0, 9.1.0 (Windows only)
On August 1, 2025, a known issue was discovered where Elastic Agent does not process Windows security events on hosts running Windows 10, Windows 11, and Windows Server 2022.
For more information, check Issue #45693.
Workaround
No workaround is available at the moment, but a fix is expected to be available in Elastic Agent 8.19.1 and 9.1.1.
Elastic Agents remain in an "Upgrade scheduled" state
Applies to: Elastic Agent 8.18.0, 8.18.1, 8.18.2, 8.18.3, 8.18.4, 8.19.0, 9.0.0, 9.0.1, 9.0.2, 9.0.3, 9.1.0
On July 2, 2025, a known issue was discovered where Elastic Agent remains in an Upgrade scheduled
state when a scheduled Elastic Agent upgrade is cancelled. Attempting to restart the upgrade on the UI returns an error: The selected agent is not upgradeable: agent is already being upgraded.
.
For more information, check Issue #8778.
Workaround
Call the Upgrade an agent endpoint of the Kibana Fleet API with the force
parameter set to true
to force-upgrade the Elastic Agent:
curl --request POST \
--url https://<KIBANA_HOST>/api/fleet/agents/<AGENT_ID>/upgrade \
--user "<SUPERUSER_NAME>:<SUPERUSER_PASSWORD>" \
--header 'Content-Type: application/json' \
--header 'kbn-xsrf: true' \
--data '{"version": "<VERSION>","force": true}'
To force-upgrade multiple Elastic Agents, call the Bulk upgrade agents endpoint of the Kibana Fleet API with the force
parameter set to true
:
curl --request POST \
--url https://<KIBANA_HOST>/api/fleet/agents/bulk_upgrade \
--user "<SUPERUSER_NAME>:<SUPERUSER_PASSWORD>" \
--header 'Content-Type: application/json' \
--header 'kbn-xsrf: true' \
--data '{"version": "<VERSION>","force": true,"agents":["<AGENT_IDS>"]}'
[Windows] Elastic Agent is unable to re-enroll into Fleet
Applies to: Elastic Agent 9.0.0, 9.0.1, 9.0.2 (Windows only)
On April 9, 2025, a known issue was discovered where an Elastic Agent installed on Windows and previously enrolled into Fleet is unable to re-enroll. Attempting to enroll the Elastic Agent fails with the following error:
Error: the command is executed as root but the program files are not owned by the root user.
For more information, check Issue #7794.
Workaround
Until a bug fix is available in a later release, you can resolve the issue temporarily using the following workaround:
- Change the ownership of the Elastic Agent directory:
icacls "C:\Program Files\Elastic\Agent" /setowner "NT AUTHORITY\SYSTEM" /t /l
- After the output confirms all files were successfully processed, run the
enroll
command again.
[macOS] Osquery integration fails to start on fresh agent installs
Applies to: Elastic Agent 9.0.0 and 9.0.1 (macOS only)
On May 26th, 2025, a known issue was discovered that causes the osquery
integration to fail on new Elastic Agent installations on macOS. During the installation process, the required osquery.app/
directory is removed, which prevents the integration from starting.
For more information, check Issue #8245.
Workaround
As a workaround, you can manually restore the osquery.app/
directory as follows:
Extract the Elastic Agent package, but do not install it yet.
Open the following file in the extracted directory:
data/elastic-agent-68f3ed/components/agentbeat.spec.yml
Locate the
component_files
section at the top of the file. It should look similar to this:version: 2 component_files: - certs/* - lenses/* - module/* - "osquery-extension.ext" - "osquery-extension.exe" - osqueryd - "osqueryd.exe"
Add the following entry to the end of the list:
- "osquery.app/*"
The updated section should now look like this:
version: 2 component_files: - certs/* - lenses/* - module/* - "osquery-extension.ext" - "osquery-extension.exe" - osqueryd - "osqueryd.exe" - "osquery.app/*"
Proceed to install Elastic Agent from the extracted directory as usual.