An improper limitation of a pathname to a restricted directory, known as path traversal, exists in the `DirectoryResource` microservice. This occurs because the microservice fails to keep request paths within its configured root directory. If an application enables the resource's view, upload, or delete settings, a client can read, write, or delete files outside the root directory in any location accessible to the server process.