Skip to content
Heist/ feed
Back to feed
Medium

Apache CloudStack: Unauthorised comment creation and disclosure

Type: advisorySources: OSV

Improper access control in CloudStack's annotation functionality allows unauthorized comment creation and disclosure. The addAnnotation and listAnnotation APIs perform an ownership check when an entity's UUID is specified, but fail to honor its result correctly. This lets any authenticated user write annotations to, and disclose existing annotations/comments on, an entity they don't own by simply supplying its UUID. This issue affects Apache CloudStack: from 4.15.0.0 through 4.20.3.0 and from 4.21.0.0 through 4.22.1.0. Users are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-66797
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 11:29 UTC · Revision 1

Source evidence

Apache CloudStack: Unauthorised comment creation and disclosure

core-osv · Original source

Published 21 Aug 2026, 08:21 UTC

Improper access control in CloudStack's annotation functionality allows unauthorized comment creation and disclosure. The addAnnotation and listAnnotation APIs perform an ownership check when an entity's UUID is specified, but fail to honor its result correctly. This lets any authenticated user write annotations to, and disclose existing annotations/comments on, an entity they don't own by simply supplying its UUID. This issue affects Apache CloudStack: from 4.15.0.0 through 4.20.3.0 and from 4.21.0.0 through 4.22.1.0. Users are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.

osv:CVE-2026-66797
Complete source record
{
  "id": "3492b235a99adc07d8e858312fcea84c7785426cffb95d2d488e76a67ac63eae",
  "url": "https://osv.dev/vulnerability/CVE-2026-66797",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache CloudStack: Unauthorised comment creation and disclosure",
    "summary": "Improper access control in CloudStack's annotation functionality allows unauthorized comment creation and disclosure. The addAnnotation and listAnnotation APIs perform an ownership check when an entity's UUID is specified, but fail to honor its result correctly. This lets any authenticated user write annotations to, and disclose existing annotations/comments on, an entity they don't own by simply supplying its UUID. This issue affects Apache CloudStack: from 4.15.0.0 through 4.20.3.0 and from 4.21.0.0 through 4.22.1.0. Users are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.",
    "evidence": "osv:CVE-2026-66797",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-66797",
      "aliases": [
        "CVE-2026-66797"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/cloudstack",
              "type": "GIT",
              "events": [
                {
                  "introduced": "280c13a4bb103dd748ec304bfe0714a148c24602"
                },
                {
                  "last_affected": "c8599040b4756034c7105806a53d2c99eb7ea0fe"
                },
                {
                  "introduced": "f9513b47bf8cda46c2cee7e31d4d662346bc7399"
                },
                {
                  "last_affected": "348ce953a99246a756b527994f7745a7be038234"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "4.15.0.0"
                      },
                      {
                        "last_affected": "4.20.3.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "range": [
                      {
                        "introduced": "4.21.0.0"
                      },
                      {
                        "last_affected": "4.22.1.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.22.1.0",
            "4.22.0.0",
            "4.21.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-66797.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.196514528Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66797.json",
        "https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-66797"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.16.0.0"
                  },
                  {
                    "last_affected": "4.20.3.0"
                  },
                  {
                    "introduced": "4.21.0.0"
                  },
                  {
                    "last_affected": "4.22.1.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66797.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-66797",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494961,
  "published_at": "2026-08-21T08:21:58.452+00:00"
}