VAITP Dataset

← Back to the dataset

CVE-2026-131277

Playbook edit rights let attackers modify utility blocks to forge REST DELETE calls.

  • CVSS 6.3
  • CWE-22
  • Authentication, Authorization, and Session Management
  • Local

In Splunk SOAR versions below 8.8.0, a user that holds a role with permission to edit playbooks and repositories could store a modified utility block in a playbook. If a user that holds a role with permission to edit playbook code later opens and saves the playbook in the Visual Playbook Editor, a subsequent playbook run could send a Representational State Transfer (REST) API delete request to a resource outside the intended data list. The user account that runs the playbook must have permission to delete the target resource. The vulnerability is possible because Splunk SOAR does not prevent a utility block from changing the intended REST API request path. For more information see Data management automation API (https://help.splunk.com/en/splunk-soar/soar-on-premises/python-playbook-api-reference/6.3.0/automation-api/data-management-automation-api) and Manage roles and permissions in Splunk SOAR (On-premises) (https://help.splunk.com/en/splunk-soar/soar-on-premises/administer-soar-on-premises/8.8.0/manage-your-splunk-soar-on-premises-users-and-accounts/manage-roles-and-permissions-in-splunk-soar-on-premises) in the Splunk documentation.

CVSS base score
6.3
Published
2026-11-19
OWASP
A01 Broken Access Control
Orthogonal defect classification
Checking
Code defect classification
Missing Check
Category
Authentication, Authorization, and Session Management
Subcategory
Insecure Direct Object References (IDOR)
Accessibility scope
Local
Impact
Privilege Escalation
Affected component
Splunk SOAR

Solution

Upgrade Splunk SOAR to version 8.8.0 or later.

Vulnerable code sample

import json
import requests

class PlaybookUtility:
    def __init__(self, base_url, auth_token):
        self.base_url = base_url.rstrip('/')
        self.headers = {"Authorization": f"Bearer {auth_token}"}

    # VULNERABLE: unsanitized path allows IDOR
    def delete_resource(self, resource_path):
        """
        Delete a resource using the Data Management Automation API.
        `resource_path` is taken directly from the utility block input.
        """
        url = f"{self.base_url}/{resource_path}"
        response = requests.delete(url, headers=self.headers)
        return response.status_code, response.text

Patched code sample

import json
import requests
import urllib.parse

class PlaybookUtility:
    def __init__(self, base_url, auth_token):
        self.base_url = base_url.rstrip('/')
        self.headers = {"Authorization": f"Bearer {auth_token}"}
        self.allowed_prefix = "/rest/data/v1/"

    # FIX: validate path to prevent IDOR
    def delete_resource(self, resource_path):
        """
        Delete a resource using the Data Management Automation API.
        Only paths under the allowed prefix are permitted.
        """
        # Ensure the path is relative and starts with the allowed prefix
        normalized = '/' + urllib.parse.unquote(resource_path).lstrip('/')
        if not normalized.startswith(self.allowed_prefix):
            raise ValueError("Invalid resource path")
        url = f"{self.base_url}{normalized}"
        response = requests.delete(url, headers=self.headers)
        return response.status_code, response.text

Cite this entry

@misc{vaitp:cve2026131277,
  title        = {{Playbook edit rights let attackers modify utility blocks to forge REST DELETE calls.}},
  author       = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
  year         = {2026},
  note         = {VAITP Python Vulnerability Dataset, entry CVE-2026-131277},
  howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-131277/}}
}

Download this entry as JSON Download the whole dataset

Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.

The supreme art of war is to subdue the enemy without fighting.

Sun Tzu – “The Art of War”

:: Shaping the future through research and ingenuity ::

Before you use the VAITP AI models

Please read and accept the following disclaimer:

By choosing "I understand and accept", you acknowledge that you understand and agree to these terms.