CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-52839

CVE-2026-52839: Cross-Provider Appointment Injection and Authorization Bypass in Easy!Appointments

Alon Barad
Alon Barad
Software Engineer

Jul 30, 2026·6 min read·103 visits

Executive Summary (TL;DR)

Authenticated providers can inject or reassign appointments into schedules of other providers due to missing session-boundary validation on mutation endpoints, compounded by a write-before-crash logic flaw.

An authorization bypass and logical 'write-before-crash' vulnerability in Easy!Appointments versions prior to 1.6.0 allows authenticated users with the 'Provider' role to inject unauthorized bookings into foreign providers' schedules or reassign existing appointments via parameter manipulation on the 'store' and 'update' endpoints.

Vulnerability Overview

Easy!Appointments is an open-source, self-hosted appointment scheduling application written in PHP on top of the CodeIgniter framework. The application uses a multi-tenant role model to separate system administrators, secretaries, providers, and customers. The 'Provider' role is designed to manage individual calendars, service availabilities, and customer appointments associated only with that specific provider account.

While the application successfully restricts read access boundaries—such as limiting the appointments returned in search results through the appointments/search endpoint—it does not enforce equivalent logical separations during data mutation operations. The endpoints responsible for persisting new appointments (appointments/store) and modifying existing ones (appointments/update) allow callers to supply arbitrary provider identifiers. This configuration exposes an insecure direct object reference (IDOR) vector to authenticated attackers.

Because the backend controller lacks verification checks to confirm that the submitted provider identifier corresponds to the active session user, authenticated providers can manipulate foreign calendars. An attacker with standard provider privileges can inject unauthorized appointments into another provider's schedule or hijack existing entries. This vulnerability breaks the primary multi-tenant isolation assumption of the platform.

Root Cause Analysis

The root cause of this vulnerability lies in the lack of session-based validation within the controller class located at application/controllers/Appointments.php. During HTTP POST requests to the store and update endpoints, the application decodes a JSON payload containing the appointment data structure. This structure includes the id_users_provider field, which determines the database association for the appointment.

The controller directly maps the request data to the database abstraction model without checking if the caller holds the appropriate permissions to write to the requested provider ID. The backend relies solely on the application-wide check that verifies whether the caller has the general privilege to create or edit appointments. It fails to apply contextual, row-level verification to ensure the caller's session matches the owner of the target schedule.

Furthermore, the store flow contains a logical 'write-before-crash' anomaly. After executing the database save operation, the code attempts to retrieve the newly written record using a find operation but incorrectly passes the complete associative appointment array instead of the integer insertion ID. This mismatch causes PHP to raise a fatal runtime TypeError, terminating execution. Because the database transaction is already committed before the crash occurs, the unauthorized injection succeeds despite the application returning an HTTP 500 error to the client.

Code Analysis

Analyzing the vulnerable code path in application/controllers/Appointments.php before version 1.6.0 reveals the unsafe parameter mapping. The JSON input is converted into an associative array, parsed for allowed database fields, and immediately processed by the active record model. The application processes the database write using trusted and untrusted inputs interchangeably.

// Vulnerable Controller Flow (Before 1.6.0)
public function store(): void
{
    // Missing validation to ensure session_id matches the submitted provider ID
    $appointment = json_decode(request('appointment'), true);
 
    $this->appointments_model->only($appointment, $this->allowed_appointment_fields);
    $this->appointments_model->optional($appointment, $this->optional_appointment_fields);
 
    // The application commits the arbitrary id_users_provider directly to the database
    $appointment_id = $this->appointments_model->save($appointment);
 
    // TYPE ERROR CRASH: The find() method expects an integer ID but receives the array
    $appointment = $this->appointments_model->find($appointment);
 
    $this->webhooks_client->trigger(WEBHOOK_APPOINTMENT_SAVE, $appointment);
}

The patched implementation in version 1.6.0 resolves this validation gap by actively checking the caller's session role. If the active session is associated with the 'Provider' role, the controller overwrites any client-provided id_users_provider key with the authenticated user ID stored in the server session. The update flow implements an identical mapping check to secure existing records.

// Patched Controller Flow (Version 1.6.0)
public function store(): void
{
    $appointment = json_decode(request('appointment'), true);
    if (!is_array($appointment)) {
        throw new InvalidArgumentException('Invalid appointment data provided.');
    }
 
    $user_id = (int) session('user_id');
    $role_slug = session('role_slug');
 
    // Strict session enforcement for the provider role
    if ($role_slug === DB_SLUG_PROVIDER) {
        $appointment['id_users_provider'] = $user_id;
    }
 
    $this->appointments_model->only($appointment, $this->allowed_appointment_fields);
    $this->appointments_model->optional($appointment, $this->optional_appointment_fields);
 
    $appointment_id = $this->appointments_model->save($appointment);
 
    // Fixed type argument prevents the runtime server crash
    $appointment = $this->appointments_model->find($appointment_id);
 
    $this->webhooks_client->trigger(WEBHOOK_APPOINTMENT_SAVE, $appointment);
}

Exploitation Mechanics

To exploit this vulnerability, an attacker must first obtain valid credentials associated with a 'Provider' account. Once authenticated, the attacker monitors network traffic to capture the structure of legitimate creation and modification requests sent to the backend endpoints. The target identifiers are gathered by viewing the public scheduling interface or querying public directories.

An attacker targets the appointments/store endpoint by formulating a POST request containing an appointment structure. By replacing the id_users_provider parameter with the ID of the target provider, the transaction is routed to the target provider's schedule. The attacker triggers the exploit payload directly over standard HTTP.

POST /appointments/store HTTP/1.1
Host: scheduling-system.local
Content-Type: application/x-www-form-urlencoded
Cookie: csrf_cookie_name=...; session_id=...
 
appointment=%7B%22id_users_provider%22%3A12%2C%22id_users_customer%22%3A45%2C%22id_services%22%3A2%2C%22start_datetime%22%3A%222026-08-01+10%3A00%3A00%22%2C%22end_datetime%22%3A%222026-08-01+11%3A00%3A00%22%7D

When the server processes this request, it writes the record to the database and returns an HTTP 500 response. This status code indicates a generic failure to the client but masks the successful injection of the record. The attacker can verify the injection by querying the target provider's public calendar page, which now registers the block.

Impact Assessment

The security impact of CVE-2026-52839 is rated as low-to-moderate with a CVSS v3.1 base score of 3.3. The vulnerability does not allow remote code execution or direct database exposure. However, it compromises data integrity and authorization boundaries within multi-tenant deployments of the application.

Because of this vulnerability, unauthorized users can modify, corrupt, or inject records into restricted schedules. In organizations with competing providers or sensitive internal workflows, this issue allows malicious actors to systematically block available slots or reassign high-value bookings. The silent success of the write operation complicates detection.

This behavior makes manual log inspections necessary because security systems might misinterpret the HTTP 500 error responses as simple system failures rather than successful exploitation attempts. The scope remains restricted to the database tables associated with Easy!Appointments scheduling records.

Remediation and Patches

The primary remediation for this vulnerability is to upgrade Easy!Appointments instances to version 1.6.0 or higher. Version 1.6.0 introduces input verification checks and enforces session-based provider parameters. This release also resolves the type error bug in the store endpoint, ensuring consistent error responses.

If upgrading is not immediately possible, security administrators can apply a manual code patch. This is done by modifying application/controllers/Appointments.php to include role checks that overwrite client-provided provider parameters with active session IDs. The type error bug must also be corrected to ensure correct webhook processing.

Organizations should also audit active database tables for historical inconsistencies. Queries can be executed to compare the logged creation user with the actual provider assigned to active bookings. This process helps locate historical indicators of compromise.

Official Patches

alextselegidisOfficial patch securing the appointments/store and appointments/update endpoints

Fix Analysis (1)

Technical Appendix

CVSS Score
3.3/ 10
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
EPSS Probability
0.15%
Top 96% most exploited

Affected Systems

Easy!Appointments

Affected Versions Detail

Product
Affected Versions
Fixed Version
Easy!Appointments
alextselegidis
< 1.6.01.6.0
AttributeDetail
CWE IDCWE-639
Attack VectorNetwork
CVSS v3.1 Score3.3 (Low)
Exploit StatusNone (No active public exploits)
CISA KEV StatusNot Listed
Affected Functionsappointments/store, appointments/update

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-639
Authorization Bypass Through User-Controlled Key

The system uses a user-controlled key to identify resources in an SQL transaction without verifying that the key belongs to the authenticated actor.

Vulnerability Timeline

Vulnerability patched in source code repository
2026-05-26
GitHub Security Advisory published and CVE-2026-52839 assigned
2026-07-14
NVD finalizes severity and analysis processing
2026-07-29

References & Sources

  • [1]GitHub Security Advisory GHSA-w8xc-8g92-v77h
  • [2]NVD CVE-2026-52839 Record
  • [3]Easy!Appointments Version 1.6.0 Release Tag

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 2 hours ago•CVE-2026-63304
8.1

CVE-2026-63304: OS Command Injection in WWBN AVideo via listFFmpegProcesses

WWBN AVideo versions through 29.0 contain an OS command injection vulnerability (CWE-78) in the standalone API utility function listFFmpegProcesses(). The function constructs a shell pipeline to monitor active FFmpeg processes by interpolating a user-controlled keyword parameter directly into a single-quoted grep argument without sanitization or shell escaping. An attacker capable of crafting or submitting a valid encrypted codeToExec payload can break out of the single-quoted argument context and execute arbitrary operating system commands with the privileges of the web server user.

Alon Barad
Alon Barad
3 views•9 min read
•about 3 hours ago•CVE-2026-59726
10.0

CVE-2026-59726: Unauthenticated Remote Code Execution in Ruflo MCP Bridge

Ruflo versions prior to 3.16.3 expose the Model Context Protocol (MCP) bridge HTTP endpoints (`POST /mcp` and `POST /mcp/:group`) on all network interfaces (`0.0.0.0:3001`) without authentication. Because the primary JSON-RPC tool dispatcher (`executeTool()`) bypasses existing tool blocklists, an unauthenticated network attacker can invoke the `terminal_execute` tool to achieve arbitrary command execution inside the bridge container. This initial access permits full exfiltration of third-party LLM provider API keys, unauthorized access to the co-located MongoDB instance, and manipulation of the AgentDB learning store.

Alon Barad
Alon Barad
5 views•2 min read
•about 4 hours ago•CVE-2026-59818
6.5

CVE-2026-59818: Improper Certificate Revocation List (CRL) Validation on Split gRPC Listeners in etcd

In etcd versions prior to 3.5.32 and 3.6.13, configuring the server with --listen-client-http-urls decouples HTTP and gRPC traffic onto distinct network listeners. Due to an implementation flaw in how TLS configurations are passed to the gRPC server instance, the Certificate Revocation List (CRL) defined by --client-crl-file is enforced exclusively on the HTTP listener and omitted entirely on the dedicated gRPC listener. This allows an adversary possessing a revoked, CA-signed client certificate to bypass mutual TLS (mTLS) revocation checks and authenticate directly to the gRPC interface.

Amit Schendel
Amit Schendel
6 views•10 min read
•about 5 hours ago•CVE-2026-59831
4.4

CVE-2026-59831: Remote Code Execution via Unvalidated URL Scheme Handling in GitHub CLI

GitHub CLI (gh) versions 2.10.0 through 2.95.0 contain an input validation vulnerability in the `gh codespace jupyter` command path. When connecting to a remote Codespace to launch a JupyterLab session, the CLI retrieves a server URL via a remote procedure call (RPC) and passes it directly to the host operating system's default URL dispatcher without validating the scheme or target host. A compromised or malicious Codespace can return a custom protocol URI, such as `vscode://` or `vscode-insiders://`, allowing an attacker to invoke local desktop application handlers and achieve arbitrary command execution on the developer's workstation.

Alon Barad
Alon Barad
11 views•9 min read
•about 6 hours ago•CVE-2026-59191
6.9

CVE-2026-59191: Path Traversal and Arbitrary File Read in CakePHP TwigView FileLoader

A path traversal vulnerability exists in the cakephp/twig-view plugin for the CakePHP framework prior to versions 1.3.3 and 2.1.2. The Cake\TwigView\Twig\FileLoader::findTemplate() method verifies template existence using PHP's native file_exists() function without ensuring the target path resides within configured application or plugin template directories. When user-controlled input is passed to template inclusion mechanisms, an unauthenticated remote attacker can read arbitrary local files accessible to the PHP runtime.

Alon Barad
Alon Barad
5 views•9 min read
•about 7 hours ago•CVE-2026-64855
8.2

CVE-2026-64855: Cryptographic Signature Verification Bypass in soapbar WS-Security Implementation

CVE-2026-64855 (GHSA-859w-52fx-hcm6) is a cryptographic signature verification and authentication bypass vulnerability in the soapbar Python library prior to version 0.13.0. In vulnerable versions, the verify_envelope_bsp() function derives its trust anchor directly from the incoming SOAP message by extracting an untrusted X.509 certificate embedded inside the wsse:BinarySecurityToken header. Because the function checks only the temporal validity of the extracted certificate without performing Certificate Authority (CA) chain validation or certificate pinning, an unauthenticated network attacker can generate a self-signed certificate, sign an arbitrary SOAP payload, and pass verification.

Amit Schendel
Amit Schendel
9 views•10 min read