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·100 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

•35 minutes ago•CVE-2026-126295
7.1

CVE-2026-126295: Path Traversal and Unconfined File Access in NLTK BllipParser

CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.

Amit Schendel
Amit Schendel
1 views•11 min read
•about 2 hours ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 3 hours ago•GHSA-GPWC-27CW-RH9R
5.3

CVE-2026-126301: Quadratic CPU Exhaustion in NLTK LegalitySyllableTokenizer

The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.

Amit Schendel
Amit Schendel
4 views•10 min read
•about 4 hours ago•CVE-2026-126304
8.7

CVE-2026-126304: Symlink Path Traversal in NLTK YCOECorpusReader

CVE-2026-126304 is a symlink path traversal vulnerability (CWE-59) in the Natural Language Toolkit (NLTK) versions 3.10.0 prior to 3.10.4. The YCOECorpusReader class constructs internal sub-readers for the 'psd' and 'pos' subdirectories using FileSystemPathPointer.join(), which relies exclusively on lexical string-prefix validation rather than canonical path resolution. An attacker who supplies a crafted YCOE corpus containing symbolic links in place of the 'psd' or 'pos' subdirectories can bypass directory confinement and read arbitrary files from sibling corpora or sensitive directories within the NLTK data sandbox.

Amit Schendel
Amit Schendel
6 views•9 min read
•about 5 hours ago•CVE-2026-128077
6.5

CVE-2026-128077: Authorization Bypass via Request Path Desynchronization in Nuxt and @nuxt/nitro-server

CVE-2026-128077 (GHSA-r99w-jh2x-3mg9) is an authorization bypass and interpretation conflict vulnerability affecting Nuxt and its underlying @nuxt/nitro-server package in versions 4.6.0 through 4.6.3. When an incoming HTTP request path begins with a double forward slash (e.g., //x/admin), the WHATWG URL parser within the Nuxt server-side page renderer interprets the initial segment as a network host/authority and resolves the remaining path (/admin) against the application's page router. Because Nitro server middleware, route-scoped serverHandlers, and Nitro routeRules evaluate the unparsed request path (//x/admin), path-based access controls, redirects, and security header policies configured for /admin fail to match and are bypassed.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 6 hours ago•CVE-2026-128084
4.8

CVE-2026-128084: Integer Truncation and SQL Query Truncation in sqlite3-ruby

Prior to version 2.10.2, the sqlite3-ruby gem explicitly cast 64-bit Ruby string lengths (long) to 32-bit signed integers (int) when invoking the underlying SQLite C API. On 64-bit platforms, providing a string of 4 GiB (2^32 bytes) or larger causes integer truncation, instructing SQLite to process only a prefix of the string. This flaw affects SQL query preparation, bound parameter values, and return values from custom Ruby-defined SQL functions and aggregates, allowing trailing SQL clauses such as WHERE restrictions to be silently dropped under specific conditions.

Alon Barad
Alon Barad
5 views•11 min read