Skip to main content
Vulnerability Database/CVE-2026-107781

CVE-2026-107781: Dromara Skyeye SSRF Vulnerability

CVE-2026-107781 is a server-side request forgery flaw in Dromara Skyeye that allows unauthenticated attackers to fetch internal URLs and overwrite user files. This post covers technical details, impact, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-107781 Overview

CVE-2026-107781 is a server-side request forgery (SSRF) and missing authorization vulnerability in Dromara Skyeye through commit 003549ae5615bd114ba5bb8ddf6a8e8ead97c321. The flaw resides in the OnlyOffice save callback handler editUploadOfficeFileById within FileConsoleServiceImpl.java. Unauthenticated attackers can supply arbitrary url and key parameters to force the server to fetch internal URLs and overwrite any user's stored file. Attackers can then retrieve the results by calling queryFileToShowById. The issue is tracked under CWE-918: Server-Side Request Forgery.

Critical Impact

Unauthenticated attackers can pivot into internal networks via SSRF and overwrite arbitrary user files, enabling data tampering and lateral movement.

Affected Products

  • Dromara Skyeye through commit 003549ae5615bd114ba5bb8ddf6a8e8ead97c321
  • Component: skyeye-adm/adm-pro (FileConsoleServiceImpl.java, lines 533-556)
  • OnlyOffice save callback endpoint editUploadOfficeFileById

Discovery Timeline

  • 2026-10-08 - CVE-2026-107781 published to NVD
  • 2026-10-09 - Last updated in NVD database

Technical Details for CVE-2026-107781

Vulnerability Analysis

Dromara Skyeye integrates OnlyOffice document editing through a save callback endpoint. The editUploadOfficeFileById handler accepts url and key parameters from HTTP requests without authenticating the caller or validating the destination of the url parameter. The server then issues an outbound HTTP request to the attacker-supplied URL and writes the response body into the file record identified by key.

This combines two distinct weaknesses. First, the SSRF primitive allows the Skyeye server to be used as a request proxy against internal cloud metadata services, admin interfaces, and loopback endpoints. Second, the missing authorization check lets any unauthenticated client overwrite any user's stored file, which can then be exfiltrated through the companion queryFileToShowById endpoint.

Root Cause

The root cause is twofold. The editUploadOfficeFileById method is reachable without an authenticated session, violating the expected OnlyOffice callback trust boundary. The handler also treats the client-supplied url as a trusted document origin and fetches it server-side without URL validation, scheme restriction, or allow-listing of known OnlyOffice document servers.

Attack Vector

An unauthenticated remote attacker sends a crafted request to the OnlyOffice save callback endpoint. The request includes a url parameter pointing to any internal resource reachable from the Skyeye host and a key parameter referencing a victim's existing file identifier. The server fetches the attacker-controlled URL and replaces the stored content of the referenced file. The attacker then invokes queryFileToShowById with the same key to read the fetched content, completing an unauthenticated SSRF-to-read primitive.

Technical details are available in the VulnCheck Security Advisory and the vulnerable source in FileConsoleServiceImpl.java.

Detection Methods for CVE-2026-107781

Indicators of Compromise

  • Unauthenticated HTTP requests to the Skyeye editUploadOfficeFileById endpoint containing externally supplied url and key parameters.
  • Outbound HTTP requests from the Skyeye application server to RFC1918 ranges, 127.0.0.1, 169.254.169.254, or other cloud metadata endpoints.
  • Unexpected modifications to stored OnlyOffice document records with no corresponding authenticated editing session.
  • Sequential access pattern of editUploadOfficeFileById immediately followed by queryFileToShowById for the same key from the same source IP.

Detection Strategies

  • Enable application access logging on the Skyeye adm-pro module and alert on calls to editUploadOfficeFileById that lack an authenticated session identifier.
  • Correlate inbound requests to the save callback with the destination of the server's subsequent outbound HTTP connections.
  • Baseline normal OnlyOffice document server IPs and flag outbound fetches directed at any other host.

Monitoring Recommendations

  • Forward Skyeye application and web server logs to a centralized analytics platform for retention and correlation.
  • Monitor egress firewall logs from the Skyeye host for requests to internal management networks or cloud metadata services.
  • Track file-record modification events in the diskcloud subsystem and alert on cross-user overwrites.

How to Mitigate CVE-2026-107781

Immediate Actions Required

  • Restrict network access to the Skyeye editUploadOfficeFileById endpoint so that only the trusted OnlyOffice Document Server can reach it, typically via a reverse proxy ACL or firewall rule.
  • Block outbound traffic from the Skyeye application host to internal management ranges, loopback, and cloud metadata endpoints such as 169.254.169.254.
  • Audit file records in the diskcloud store for unexpected changes and restore from backup where tampering is suspected.

Patch Information

No fixed version is identified in the NVD record at publication. Monitor the Dromara Skyeye GitHub repository and GitHub Issue #29 for an official fix. Any patch should enforce authentication on the OnlyOffice callback, validate that the url parameter resolves only to the trusted document server, and verify that the authenticated principal owns the file referenced by key.

Workarounds

  • Place the Skyeye instance behind a reverse proxy that enforces mutual TLS or source-IP allow-listing for the OnlyOffice callback path.
  • Deploy an egress filtering policy that denies the Skyeye host from initiating HTTP connections to private address space.
  • Temporarily disable the OnlyOffice integration if the document-editing feature is not actively used in the deployment.
  • Apply a web application firewall rule that rejects requests to editUploadOfficeFileById when the url parameter points to private or loopback addresses.
bash
# Example egress restriction using iptables on the Skyeye host
iptables -A OUTPUT -d 127.0.0.0/8 -p tcp -m owner --uid-owner skyeye -j REJECT
iptables -A OUTPUT -d 10.0.0.0/8 -p tcp -m owner --uid-owner skyeye -j REJECT
iptables -A OUTPUT -d 172.16.0.0/12 -p tcp -m owner --uid-owner skyeye -j REJECT
iptables -A OUTPUT -d 192.168.0.0/16 -p tcp -m owner --uid-owner skyeye -j REJECT
iptables -A OUTPUT -d 169.254.169.254/32 -p tcp -m owner --uid-owner skyeye -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.