Skip to content
Heist/ feed
Back to feed
Medium

Elastic Agent Inclusion of Functionality from Untrusted Control Sphere

Type: advisorySources: OSV

Inclusion of functionality from an untrusted control sphere in Elastic Agent subprocess, osqueryd, allows local attackers to execute arbitrary code via parameter injection. An attacker requires local access and the ability to modify osqueryd configurations.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-52976
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:46 UTC · Revision 1

Source evidence

Elastic Agent Inclusion of Functionality from Untrusted Control Sphere

core-osv · Original source

Published 1 May 2025, 13:03 UTC

Inclusion of functionality from an untrusted control sphere in Elastic Agent subprocess, osqueryd, allows local attackers to execute arbitrary code via parameter injection. An attacker requires local access and the ability to modify osqueryd configurations.

osv:CVE-2024-52976
Complete source record
{
  "id": "14fe95c3e33c5e64b5e64ed07d9fb1f1764bfc8bf0299d09beb870a055b854cb",
  "url": "https://osv.dev/vulnerability/CVE-2024-52976",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Elastic Agent Inclusion of Functionality from Untrusted Control Sphere",
    "summary": "Inclusion of functionality from an untrusted control sphere in Elastic Agent subprocess, osqueryd, allows local attackers to execute arbitrary code via parameter injection. An attacker requires local access and the ability to modify osqueryd configurations.",
    "evidence": "osv:CVE-2024-52976",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-52976",
      "aliases": [
        "CVE-2024-52976"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/elastic/elastic-agent",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0ab98c58e4e518a22e47047e4fb2c96322b3f107"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:elastic:elastic_agent:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "8.15.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v8.15.3",
            "v8.15.2",
            "v8.15.1",
            "v8.15.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52976.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.659346315Z",
      "provider": "osv",
      "references": [
        "https://discuss.elastic.co/t/elastic-agent-7-17-25-and-8-15-4-security-update-esa-2024-39/377708",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52976.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-52976"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-829"
        ],
        "cna_assigner": "elastic",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "last_affected": "7.17.24"
                  },
                  {
                    "introduced": "8.0.0"
                  },
                  {
                    "last_affected": "8.15.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52976.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-52976",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521478,
  "published_at": "2025-05-01T13:03:58.672+00:00"
}