Werk #19893 · Nov 26, 26
REST API: Removing host attributes bypassed host permissions
Updating a host via the REST API endpoint PUT /objects/host_config/{host_name}
with remove_attributes only checked write permission on the host's folder,
not on the host itself. A user with folder write access could therefore remove
attributes from a host whose own contact groups (set in the host's Permissions
attribute) did not grant them access.
The endpoint now checks the host write permission before applying any of
attributes, update_attributes or remove_attributes.
Who's Affected:
Sites where hosts restrict access with their own contact groups or other attributes, different from those of their folder, and users with the permission to edit hosts who are not in those contact groups. This would include the standard monitoring user configuration.
Affected Versions:
- 2.5.0
- 2.4.0
- 2.3.0 (EOL)
Vulnerability Management:
We have rated the issue with a CVSS Score of 5.3 Medium
(CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:L) and assigned CVE-2026-137813
Details
- Class:
- Security Fixes
- Level:
- Trivial
- Component:
- REST API
- Versions:
- 2.5.0p24Not yet releasedAll Editions
- 2.4.0p44Not yet releasedAll Editions